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 // TextureI3D texture sint4 3d 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
32 // TEXCOORD 0 xyz 2 NONE float xyz
37 // Name Index Mask Register SysValue Format Used
38 // -------------------- ----- ------ -------- -------- ------- ------
39 // SV_TARGET 0 xyzw 0 TARGET int xyzw
42 dcl_constantbuffer cb0[1], immediateIndexed
43 dcl_resource_texture3d (sint,sint,sint,sint) t0
44 dcl_input_ps linear v2.xyz
47 dcl_indexableTemp x0[6], 4
48 resinfo_uint r0.xyzw, l(0), t0.xyzw
50 mul r0.xyz, r0.xyzx, v2.xyzx
53 ld r0.xyzw, r0.xyzw, t0.xyzw
61 mov o0.x, x0[r0.x + 0].x
63 mov o0.y, x0[r0.x + 0].x
65 mov o0.z, x0[r0.x + 0].x
67 mov o0.w, x0[r0.x + 0].x
69 // Approximately 21 instruction slots used
72 const BYTE g_PS_SwizzleI3D[] =
74 68, 88, 66, 67, 101, 41,
75 194, 229, 103, 175, 204, 102,
76 192, 43, 200, 161, 117, 114,
91 0, 0, 255, 255, 255, 255,
99 0, 0, 84, 101, 120, 116,
100 117, 114, 101, 73, 51, 68,
101 0, 83, 119, 105, 122, 122,
102 108, 101, 80, 114, 111, 112,
103 101, 114, 116, 105, 101, 115,
104 0, 171, 171, 171, 103, 0,
113 105, 122, 122, 108, 101, 73,
114 110, 100, 105, 99, 101, 115,
118 77, 105, 99, 114, 111, 115,
119 111, 102, 116, 32, 40, 82,
120 41, 32, 72, 76, 83, 76,
121 32, 83, 104, 97, 100, 101,
122 114, 32, 67, 111, 109, 112,
123 105, 108, 101, 114, 32, 57,
124 46, 51, 48, 46, 57, 50,
125 48, 48, 46, 49, 54, 51,
126 56, 52, 0, 171, 73, 83,
127 71, 78, 128, 0, 0, 0,
141 0, 0, 83, 86, 95, 80,
142 79, 83, 73, 84, 73, 79,
143 78, 0, 83, 86, 95, 82,
144 69, 78, 68, 69, 82, 84,
145 65, 82, 71, 69, 84, 65,
146 82, 82, 65, 89, 73, 78,
147 68, 69, 88, 0, 84, 69,
148 88, 67, 79, 79, 82, 68,
149 0, 171, 79, 83, 71, 78,
156 83, 86, 95, 84, 65, 82,
157 71, 69, 84, 0, 171, 171,
158 83, 72, 68, 82, 76, 2,
161 0, 4, 70, 142, 32, 0,
166 98, 16, 0, 3, 114, 16,
168 101, 0, 0, 3, 242, 32,
174 61, 16, 0, 7, 242, 0,
177 0, 0, 70, 126, 16, 0,
224 10, 128, 32, 0, 0, 0,
241 0, 0, 42, 128, 32, 0,
250 58, 128, 32, 0, 0, 0,
252 54, 0, 0, 7, 130, 32,
257 0, 1, 83, 84, 65, 84,