mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-28 13:40:41 +00:00
33 lines
430 B
GLSL
33 lines
430 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);
|
|
float2 w = 2.0;
|
|
float V = 1;
|
|
float3 MyVal = V;
|
|
|
|
float3 foo;
|
|
foo > 4.0;
|
|
foo >= 5.0;
|
|
6.0 < foo;
|
|
7.0 <= foo;
|
|
|
|
v.x == v;
|
|
f != v;
|
|
|
|
float1 f1;
|
|
|
|
f1 == v;
|
|
v < f1;
|
|
f1.x;
|
|
f1.xxx;
|
|
|
|
return input;
|
|
}
|