mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-12 22:38:35 +00:00
![John Kessenich](/assets/img/avatar_default.png)
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;
|
|
}
|