• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1struct PS_OUTPUT
2{
3    float4 Color : SV_Target0;
4};
5
6uniform bool   bval;
7uniform bool4  bval4;
8uniform int    ival;
9uniform int4   ival4;
10uniform float  fval;
11uniform float4 fval4;
12
13PS_OUTPUT main()
14{
15    ival  % fval;
16    ival4 % fval4;
17
18    bval  % fval;
19    bval4 % fval4;
20
21    int l_int = 1;
22    l_int %= fval;
23
24    PS_OUTPUT psout;
25    psout.Color = 0;
26    return psout;
27}
28
29