70ac58fd38
* 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
24 lines
585 B
C++
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
|