mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-12 13:10:06 +00:00
fea226ba43
Also, this allows turning on the error check for a failed assigment when parsing. This makes 39 HLSL tests have a working assignment that was previously silently dropped, due to lack of this functionality.
14 lines
201 B
GLSL
14 lines
201 B
GLSL
float4 PixelShaderFunction(float4 input, float f) : COLOR0
|
|
{
|
|
float4 v;
|
|
v = 1;
|
|
v = 2.0;
|
|
v = f;
|
|
float3 u;
|
|
u = float(1);
|
|
u = float(2.0);
|
|
u = float(f);
|
|
|
|
return input;
|
|
}
|