1struct PS_OUTPUT
2{
3 float4 Color : SV_Target0;
4};
5
6uniform int ival;
7uniform int4 ival4;
8uniform float fval;
9uniform float4 fval4;
10
11PS_OUTPUT main()
12{
13 if (ival && fval);
14 if (ival || fval);
15
16 PS_OUTPUT psout;
17 psout.Color = 1.0;
18 return psout;
19}
20
21
22