mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 03:39:51 +00:00
35 lines
473 B
GLSL
35 lines
473 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;
|
|
|
|
all(v.x == v);
|
|
any(f != v);
|
|
|
|
float1 f1;
|
|
|
|
f1 == v;
|
|
v < f1;
|
|
f1.x;
|
|
f1.xxx;
|
|
|
|
const float4 f4 = 3.0;
|
|
|
|
return input * f4;
|
|
}
|