1f16f0d260
If 'const' is used, the shader expects the variable to be backed by a constant buffer. 'static const' is probably preferred for a value that is initialized with a constant in the HLSL source code. FXC also emits a warning for 'const' variables with initializers, since 'static const' was probably intended. |
||
---|---|---|
.. | ||
comp | ||
frag | ||
vert |