Skip to content

Commit

Permalink
Fix incorrect psslShaderPreamble in compute shader (bkaradzic#3206)
Browse files Browse the repository at this point in the history
  • Loading branch information
00bins authored Nov 22, 2023
1 parent 7abef01 commit bd0cd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/shaderc/shaderc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ namespace bgfx
}
else
{
if (profile->lang != ShadingLang::PSSL)
if (profile->lang == ShadingLang::PSSL)
{
preprocessor.writef(getPsslPreamble() );
}
Expand Down

0 comments on commit bd0cd50

Please sign in to comment.