Fix incorrect psslShaderPreamble in compute shader (#3206)

This commit is contained in:
00bins
2023-11-22 03:33:33 +00:00
committed by GitHub
parent 7abef01714
commit bd0cd504f6

View File

@@ -1547,7 +1547,7 @@ namespace bgfx
}
else
{
if (profile->lang != ShadingLang::PSSL)
if (profile->lang == ShadingLang::PSSL)
{
preprocessor.writef(getPsslPreamble() );
}