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 // TextureF2DArray texture float4 2darray 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 x
33 // TEXCOORD 0 xyz 2 NONE float xy
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_texture2darray (float,float,float,float) t0
46 dcl_input_ps_siv constant v1.x, rendertarget_array_index
47 dcl_input_ps linear v2.xy
50 dcl_indexableTemp x0[6], 4
53 sample r0.xyzw, r0.xyzx, t0.xyzw, s0
59 mov x0[5].x, l(1.000000)
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 18 instruction slots used
72 const BYTE g_PS_SwizzleF2DArray[] =
74 68, 88, 66, 67, 161, 112,
75 176, 131, 216, 246, 27, 65,
76 39, 246, 72, 161, 231, 81,
105 109, 112, 108, 101, 114, 0,
106 84, 101, 120, 116, 117, 114,
107 101, 70, 50, 68, 65, 114,
108 114, 97, 121, 0, 83, 119,
109 105, 122, 122, 108, 101, 80,
110 114, 111, 112, 101, 114, 116,
111 105, 101, 115, 0, 171, 171,
120 83, 119, 105, 122, 122, 108,
121 101, 73, 110, 100, 105, 99,
122 101, 115, 0, 171, 1, 0,
125 0, 0, 77, 105, 99, 114,
126 111, 115, 111, 102, 116, 32,
127 40, 82, 41, 32, 72, 76,
128 83, 76, 32, 83, 104, 97,
129 100, 101, 114, 32, 67, 111,
130 109, 112, 105, 108, 101, 114,
131 32, 57, 46, 51, 48, 46,
132 57, 50, 48, 48, 46, 49,
133 54, 51, 56, 52, 0, 171,
134 73, 83, 71, 78, 128, 0,
149 95, 80, 79, 83, 73, 84,
150 73, 79, 78, 0, 83, 86,
151 95, 82, 69, 78, 68, 69,
152 82, 84, 65, 82, 71, 69,
153 84, 65, 82, 82, 65, 89,
154 73, 78, 68, 69, 88, 0,
155 84, 69, 88, 67, 79, 79,
156 82, 68, 0, 171, 79, 83,
163 0, 0, 83, 86, 95, 84,
164 65, 82, 71, 69, 84, 0,
165 171, 171, 83, 72, 68, 82,
168 89, 0, 0, 4, 70, 142,
178 98, 16, 0, 3, 50, 16,
180 101, 0, 0, 3, 242, 32,
196 70, 126, 16, 0, 0, 0,
222 0, 0, 128, 63, 54, 0,
233 0, 0, 26, 128, 32, 0,
242 42, 128, 32, 0, 0, 0,
253 0, 7, 130, 32, 16, 0,
258 83, 84, 65, 84, 116, 0,