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 // Sampler sampler NA NA 0 1
22 // TextureF3D texture float4 3d 0 1
23 // SwizzleProperties cbuffer NA NA 0 1
29 // Name Index Mask Register SysValue Format Used
30 // -------------------- ----- ------ -------- -------- ------- ------
31 // SV_POSITION 0 xyzw 0 POS float
32 // SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint
33 // TEXCOORD 0 xyz 2 NONE float xyz
38 // Name Index Mask Register SysValue Format Used
39 // -------------------- ----- ------ -------- -------- ------- ------
40 // SV_TARGET 0 xyzw 0 TARGET float xyzw
43 dcl_constantbuffer cb0[1], immediateIndexed
44 dcl_sampler s0, mode_default
45 dcl_resource_texture3d (float,float,float,float) t0
46 dcl_input_ps linear v2.xyz
49 dcl_indexableTemp x0[6], 4
50 sample r0.xyzw, v2.xyzx, t0.xyzw, s0
56 mov x0[5].x, l(1.000000)
58 mov o0.x, x0[r0.x + 0].x
60 mov o0.y, x0[r0.x + 0].x
62 mov o0.z, x0[r0.x + 0].x
64 mov o0.w, x0[r0.x + 0].x
66 // Approximately 16 instruction slots used
69 const BYTE g_PS_SwizzleF3D[] =
71 68, 88, 66, 67, 112, 23,
72 39, 219, 141, 10, 170, 22,
73 165, 204, 123, 149, 248, 84,
102 109, 112, 108, 101, 114, 0,
103 84, 101, 120, 116, 117, 114,
104 101, 70, 51, 68, 0, 83,
105 119, 105, 122, 122, 108, 101,
106 80, 114, 111, 112, 101, 114,
107 116, 105, 101, 115, 0, 171,
108 171, 171, 143, 0, 0, 0,
116 0, 0, 83, 119, 105, 122,
117 122, 108, 101, 73, 110, 100,
118 105, 99, 101, 115, 0, 171,
122 99, 114, 111, 115, 111, 102,
123 116, 32, 40, 82, 41, 32,
124 72, 76, 83, 76, 32, 83,
125 104, 97, 100, 101, 114, 32,
126 67, 111, 109, 112, 105, 108,
127 101, 114, 32, 57, 46, 51,
128 48, 46, 57, 50, 48, 48,
129 46, 49, 54, 51, 56, 52,
130 0, 171, 73, 83, 71, 78,
145 83, 86, 95, 80, 79, 83,
146 73, 84, 73, 79, 78, 0,
147 83, 86, 95, 82, 69, 78,
148 68, 69, 82, 84, 65, 82,
149 71, 69, 84, 65, 82, 82,
150 65, 89, 73, 78, 68, 69,
151 88, 0, 84, 69, 88, 67,
152 79, 79, 82, 68, 0, 171,
153 79, 83, 71, 78, 44, 0,
160 95, 84, 65, 82, 71, 69,
161 84, 0, 171, 171, 83, 72,
162 68, 82, 236, 1, 0, 0,
165 70, 142, 32, 0, 0, 0,
169 88, 40, 0, 4, 0, 112,
171 85, 85, 0, 0, 98, 16,
172 0, 3, 114, 16, 16, 0,
174 0, 3, 242, 32, 16, 0,
183 70, 126, 16, 0, 0, 0,
209 0, 0, 128, 63, 54, 0,
220 0, 0, 26, 128, 32, 0,
229 42, 128, 32, 0, 0, 0,
240 0, 7, 130, 32, 16, 0,
245 83, 84, 65, 84, 116, 0,