mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 03:39:51 +00:00
22 lines
273 B
GLSL
22 lines
273 B
GLSL
|
struct PS_OUTPUT
|
||
|
{
|
||
|
float4 Color : SV_Target0;
|
||
|
};
|
||
|
|
||
|
uniform int ival;
|
||
|
uniform int4 ival4;
|
||
|
uniform float fval;
|
||
|
uniform float4 fval4;
|
||
|
|
||
|
PS_OUTPUT main()
|
||
|
{
|
||
|
if (ival && fval);
|
||
|
if (ival || fval);
|
||
|
|
||
|
PS_OUTPUT psout;
|
||
|
psout.Color = 1.0;
|
||
|
return psout;
|
||
|
}
|
||
|
|
||
|
|