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 // TextureF2D texture float4 2d 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 // TEXCOORD 0 xy 1 NONE float xy
37 // Name Index Mask Register SysValue Format Used
38 // -------------------- ----- ------ -------- -------- ------- ------
39 // SV_TARGET 0 xyzw 0 TARGET float xyzw
42 dcl_constantbuffer cb0[1], immediateIndexed
43 dcl_sampler s0, mode_default
44 dcl_resource_texture2d (float,float,float,float) t0
45 dcl_input_ps linear v1.xy
48 dcl_indexableTemp x0[6], 4
49 sample r0.xyzw, v1.xyxx, t0.xyzw, s0
55 mov x0[5].x, l(1.000000)
57 mov o0.x, x0[r0.x + 0].x
59 mov o0.y, x0[r0.x + 0].x
61 mov o0.z, x0[r0.x + 0].x
63 mov o0.w, x0[r0.x + 0].x
65 // Approximately 16 instruction slots used
68 const BYTE g_PS_SwizzleF2D[] =
70 68, 88, 66, 67, 162, 151,
71 82, 12, 22, 214, 143, 216,
72 57, 84, 12, 76, 109, 120,
101 109, 112, 108, 101, 114, 0,
102 84, 101, 120, 116, 117, 114,
103 101, 70, 50, 68, 0, 83,
104 119, 105, 122, 122, 108, 101,
105 80, 114, 111, 112, 101, 114,
106 116, 105, 101, 115, 0, 171,
107 171, 171, 143, 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,
140 83, 86, 95, 80, 79, 83,
141 73, 84, 73, 79, 78, 0,
142 84, 69, 88, 67, 79, 79,
143 82, 68, 0, 171, 171, 171,
144 79, 83, 71, 78, 44, 0,
151 95, 84, 65, 82, 71, 69,
152 84, 0, 171, 171, 83, 72,
153 68, 82, 236, 1, 0, 0,
156 70, 142, 32, 0, 0, 0,
160 88, 24, 0, 4, 0, 112,
162 85, 85, 0, 0, 98, 16,
165 0, 3, 242, 32, 16, 0,
174 70, 126, 16, 0, 0, 0,
200 0, 0, 128, 63, 54, 0,
211 0, 0, 26, 128, 32, 0,
220 42, 128, 32, 0, 0, 0,
231 0, 7, 130, 32, 16, 0,
236 83, 84, 65, 84, 116, 0,