2016-10-01 04:16:04 +03:00
|
|
|
/*
|
2023-01-14 21:05:12 +03:00
|
|
|
* Copyright 2011-2023 Branimir Karadzic. All rights reserved.
|
2022-01-15 22:59:06 +03:00
|
|
|
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
|
2016-10-01 04:16:04 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "shaderc.h"
|
|
|
|
|
|
|
|
namespace bgfx
|
|
|
|
{
|
2023-03-06 21:30:06 +03:00
|
|
|
bool compilePSSLShader(const Options& _options, uint32_t _version, const std::string& _code, bx::WriterI* _shaderWriter, bx::WriterI* _messageWriter)
|
2016-10-01 04:16:04 +03:00
|
|
|
{
|
2023-03-06 21:30:06 +03:00
|
|
|
BX_UNUSED(_options, _version, _code, _shaderWriter);
|
|
|
|
bx::ErrorAssert messageErr;
|
|
|
|
bx::write(_messageWriter, &messageErr, "PSSL compiler is not supported.\n");
|
2016-10-01 04:16:04 +03:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2018-03-17 04:15:16 +03:00
|
|
|
const char* getPsslPreamble()
|
|
|
|
{
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
2016-10-01 04:16:04 +03:00
|
|
|
} // namespace bgfx
|