1 2RWBuffer <float4> g_tBuffF; 3RWBuffer <int4> g_tBuffI; 4RWBuffer <uint4> g_tBuffU; 5 6struct PS_OUTPUT 7{ 8 float4 Color : SV_Target0; 9}; 10 11uniform int c1; 12uniform int2 c2; 13uniform int3 c3; 14uniform int4 c4; 15 16uniform int o1; 17uniform int2 o2; 18uniform int3 o3; 19uniform int4 o4; 20 21PS_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} 33