bgfx/tools/shaderc/shaderc_pssl.cpp
Jorge Rodriguez 70ac58fd38
Write messages to a stream specified by the caller of compilerShader … (#3054)
* Write messages to a stream specified by the caller of compilerShader rather than directly to stdOut, to allow tool writers to easily capture it.

* PR updates

* Missed a write

* PR updates
2023-03-06 10:30:06 -08:00

24 lines
585 B
C++

/*
* Copyright 2011-2023 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/
#include "shaderc.h"
namespace bgfx
{
bool compilePSSLShader(const Options& _options, uint32_t _version, const std::string& _code, bx::WriterI* _shaderWriter, bx::WriterI* _messageWriter)
{
BX_UNUSED(_options, _version, _code, _shaderWriter);
bx::ErrorAssert messageErr;
bx::write(_messageWriter, &messageErr, "PSSL compiler is not supported.\n");
return false;
}
const char* getPsslPreamble()
{
return "";
}
} // namespace bgfx