3 // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
9 // cbuffer SwizzleProperties
12 // uint4 SwizzleIndices; // Offset: 0 Size: 16
19 // Name Type Format Dim Slot Elements
20 // ------------------------------ ---------- ------- ----------- ---- --------
21 // TextureUI2DArray texture uint4 2darray 0 1
22 // SwizzleProperties cbuffer NA NA 0 1
28 // Name Index Mask Register SysValue Format Used
29 // -------------------- ----- ------ -------- -------- ------- ------
30 // SV_POSITION 0 xyzw 0 POS float
31 // SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint x
32 // TEXCOORD 0 xyz 2 NONE float xy
37 // Name Index Mask Register SysValue Format Used
38 // -------------------- ----- ------ -------- -------- ------- ------
39 // SV_TARGET 0 xyzw 0 TARGET uint xyzw
42 dcl_constantbuffer cb0[1], immediateIndexed
43 dcl_resource_texture2darray (uint,uint,uint,uint) t0
44 dcl_input_ps_siv constant v1.x, rendertarget_array_index
45 dcl_input_ps linear v2.xy
48 dcl_indexableTemp x0[6], 4
49 resinfo_uint r0.xyzw, l(0), t0.xyzw
51 mul r0.xy, r0.xyxx, v2.xyxx
55 ld r0.xyzw, r0.xyzw, t0.xyzw
63 mov o0.x, x0[r0.x + 0].x
65 mov o0.y, x0[r0.x + 0].x
67 mov o0.z, x0[r0.x + 0].x
69 mov o0.w, x0[r0.x + 0].x
71 // Approximately 22 instruction slots used
74 const BYTE g_PS_SwizzleUI2DArray[] =
76 68, 88, 66, 67, 239, 117,
77 221, 64, 238, 147, 130, 15,
78 39, 48, 171, 143, 66, 71,
93 0, 0, 255, 255, 255, 255,
101 0, 0, 84, 101, 120, 116,
102 117, 114, 101, 85, 73, 50,
103 68, 65, 114, 114, 97, 121,
104 0, 83, 119, 105, 122, 122,
105 108, 101, 80, 114, 111, 112,
106 101, 114, 116, 105, 101, 115,
107 0, 171, 109, 0, 0, 0,
115 0, 0, 83, 119, 105, 122,
116 122, 108, 101, 73, 110, 100,
117 105, 99, 101, 115, 0, 171,
121 99, 114, 111, 115, 111, 102,
122 116, 32, 40, 82, 41, 32,
123 72, 76, 83, 76, 32, 83,
124 104, 97, 100, 101, 114, 32,
125 67, 111, 109, 112, 105, 108,
126 101, 114, 32, 57, 46, 51,
127 48, 46, 57, 50, 48, 48,
128 46, 49, 54, 51, 56, 52,
129 0, 171, 73, 83, 71, 78,
144 83, 86, 95, 80, 79, 83,
145 73, 84, 73, 79, 78, 0,
146 83, 86, 95, 82, 69, 78,
147 68, 69, 82, 84, 65, 82,
148 71, 69, 84, 65, 82, 82,
149 65, 89, 73, 78, 68, 69,
150 88, 0, 84, 69, 88, 67,
151 79, 79, 82, 68, 0, 171,
152 79, 83, 71, 78, 44, 0,
159 95, 84, 65, 82, 71, 69,
160 84, 0, 171, 171, 83, 72,
161 68, 82, 112, 2, 0, 0,
164 70, 142, 32, 0, 0, 0,
166 88, 64, 0, 4, 0, 112,
168 68, 68, 0, 0, 100, 8,
174 242, 32, 16, 0, 0, 0,
205 0, 0, 70, 126, 16, 0,
241 0, 0, 26, 128, 32, 0,
250 42, 128, 32, 0, 0, 0,
261 0, 7, 130, 32, 16, 0,
266 83, 84, 65, 84, 116, 0,