steve-lunarg | bb0183f | 2016-10-04 16:58:14 -0600 | [diff] [blame] | 1 | |
2 | RWBuffer <float4> g_tBuffF; | ||||
3 | RWBuffer <int4> g_tBuffI; | ||||
4 | RWBuffer <uint4> g_tBuffU; | ||||
5 | |||||
6 | struct PS_OUTPUT | ||||
7 | { | ||||
8 | float4 Color : SV_Target0; | ||||
9 | }; | ||||
10 | |||||
11 | uniform int c1; | ||||
12 | uniform int2 c2; | ||||
13 | uniform int3 c3; | ||||
14 | uniform int4 c4; | ||||
15 | |||||
16 | uniform int o1; | ||||
17 | uniform int2 o2; | ||||
18 | uniform int3 o3; | ||||
19 | uniform int4 o4; | ||||
20 | |||||
21 | PS_OUTPUT main() | ||||
22 | { | ||||
23 | PS_OUTPUT psout; | ||||
24 | |||||
25 | g_tBuffF.Load(c1); | ||||
26 | g_tBuffU.Load(c1); | ||||
27 | g_tBuffI.Load(c1); | ||||
28 | |||||
29 | psout.Color = 1.0; | ||||
30 | |||||
31 | return psout; | ||||
32 | } |