I'm currently working on some pre-existing shaders running on ps_3_0 and lower. Which are known to compile on Microsoft (R) Direct3D Shader Compiler 10.1
Currently I'm experiencing an issue where a C style cast containing const is causing the extension to throw errors saying:
Severity Code Description
Error HLSL0022 Invalid expression term 'const'.
Error HLSL0009 Found 'const' but expected '<identifier>'.
Error HLSL0009 Found 'const' but expected ')'.
Error HLSL0009 Found 'const' but expected ')'.
Error HLSL0009 Found 'const' but expected ';'.
...
I'm currently working on some pre-existing shaders running on ps_3_0 and lower. Which are known to compile on Microsoft (R) Direct3D Shader Compiler 10.1
Currently I'm experiencing an issue where a C style cast containing
const
is causing the extension to throw errors saying:This is the line throwing the error.