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 // TextureI2D texture sint4 2d 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 // TEXCOORD 0 xy 1 NONE float xy
36 // Name Index Mask Register SysValue Format Used
37 // -------------------- ----- ------ -------- -------- ------- ------
38 // SV_TARGET 0 xyzw 0 TARGET int xyzw
41 dcl_constantbuffer cb0[1], immediateIndexed
42 dcl_resource_texture2d (sint,sint,sint,sint) t0
43 dcl_input_ps linear v1.xy
46 dcl_indexableTemp x0[6], 4
47 resinfo_uint r0.xyzw, l(0), t0.xyzw
49 mul r0.xy, r0.xyxx, v1.xyxx
52 ld r0.xyzw, r0.xyzw, t0.xyzw
60 mov o0.x, x0[r0.x + 0].x
62 mov o0.y, x0[r0.x + 0].x
64 mov o0.z, x0[r0.x + 0].x
66 mov o0.w, x0[r0.x + 0].x
68 // Approximately 21 instruction slots used
71 const BYTE g_PS_SwizzleI2D[] =
73 68, 88, 66, 67, 137, 89,
74 210, 142, 141, 7, 14, 194,
75 111, 71, 23, 167, 232, 166,
90 0, 0, 255, 255, 255, 255,
98 0, 0, 84, 101, 120, 116,
99 117, 114, 101, 73, 50, 68,
100 0, 83, 119, 105, 122, 122,
101 108, 101, 80, 114, 111, 112,
102 101, 114, 116, 105, 101, 115,
103 0, 171, 171, 171, 103, 0,
112 105, 122, 122, 108, 101, 73,
113 110, 100, 105, 99, 101, 115,
117 77, 105, 99, 114, 111, 115,
118 111, 102, 116, 32, 40, 82,
119 41, 32, 72, 76, 83, 76,
120 32, 83, 104, 97, 100, 101,
121 114, 32, 67, 111, 109, 112,
122 105, 108, 101, 114, 32, 57,
123 46, 51, 48, 46, 57, 50,
124 48, 48, 46, 49, 54, 51,
125 56, 52, 0, 171, 73, 83,
136 0, 0, 83, 86, 95, 80,
137 79, 83, 73, 84, 73, 79,
138 78, 0, 84, 69, 88, 67,
139 79, 79, 82, 68, 0, 171,
140 171, 171, 79, 83, 71, 78,
147 83, 86, 95, 84, 65, 82,
148 71, 69, 84, 0, 171, 171,
149 83, 72, 68, 82, 88, 2,
152 0, 4, 70, 142, 32, 0,
157 98, 16, 0, 3, 50, 16,
159 101, 0, 0, 3, 242, 32,
165 61, 16, 0, 7, 242, 0,
168 0, 0, 70, 126, 16, 0,
217 10, 128, 32, 0, 0, 0,
234 0, 0, 42, 128, 32, 0,
243 58, 128, 32, 0, 0, 0,
245 54, 0, 0, 7, 130, 32,
250 0, 1, 83, 84, 65, 84,