mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 12:42:34 +01:00
Fix incorrect psslShaderPreamble in compute shader (#3206)
This commit is contained in:
@@ -1547,7 +1547,7 @@ namespace bgfx
|
||||
}
|
||||
else
|
||||
{
|
||||
if (profile->lang != ShadingLang::PSSL)
|
||||
if (profile->lang == ShadingLang::PSSL)
|
||||
{
|
||||
preprocessor.writef(getPsslPreamble() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user