3 // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
9 // cbuffer BufferCopyParams
12 // uint FirstPixelOffset; // Offset: 0 Size: 4
13 // uint PixelsPerRow; // Offset: 4 Size: 4
14 // uint RowStride; // Offset: 8 Size: 4
15 // uint RowsPerSlice; // Offset: 12 Size: 4
16 // float2 PositionOffset; // Offset: 16 Size: 8
17 // float2 PositionScale; // Offset: 24 Size: 8
18 // int2 TexLocationOffset; // Offset: 32 Size: 8 [unused]
19 // int2 TexLocationScale; // Offset: 40 Size: 8 [unused]
26 // Name Type Format Dim Slot Elements
27 // ------------------------------ ---------- ------- ----------- ---- --------
28 // BufferCopyParams cbuffer NA NA 0 1
34 // Name Index Mask Register SysValue Format Used
35 // -------------------- ----- ------ -------- -------- ------- ------
36 // SV_VertexID 0 x 0 VERTID uint x
41 // Name Index Mask Register SysValue Format Used
42 // -------------------- ----- ------ -------- -------- ------- ------
43 // SV_Position 0 xyzw 0 POS float xyzw
44 // TEXCOORD 0 x 1 NONE uint x
45 // LAYER 0 y 1 NONE uint y
48 dcl_constantbuffer cb0[2], immediateIndexed
49 dcl_input_sgv v0.x, vertex_id
50 dcl_output_siv o0.xyzw, position
54 mov o0.zw, l(0,0,0,1.000000)
55 imul null, r0.xy, cb0[0].wwww, cb0[0].yzyy
56 udiv r0.z, null, v0.x, r0.x
57 imad r0.x, -r0.z, r0.x, v0.x
58 imad r0.y, r0.z, r0.y, cb0[0].x
60 udiv r0.z, null, r0.x, cb0[0].y
61 imad r0.x, -r0.z, cb0[0].y, r0.x
63 imad r0.y, r0.z, cb0[0].z, r0.y
65 mad o0.xy, cb0[1].zwzz, r1.xyxx, cb0[1].xyxx
67 // Approximately 13 instruction slots used
70 const BYTE g_VS_BufferToTexture[] =
72 68, 88, 66, 67, 158, 32,
73 140, 89, 212, 226, 251, 197,
74 186, 151, 46, 176, 250, 58,
92 66, 117, 102, 102, 101, 114,
93 67, 111, 112, 121, 80, 97,
94 114, 97, 109, 115, 0, 171,
95 171, 171, 60, 0, 0, 0,
131 0, 0, 70, 105, 114, 115,
132 116, 80, 105, 120, 101, 108,
133 79, 102, 102, 115, 101, 116,
134 0, 171, 171, 171, 0, 0,
137 0, 0, 80, 105, 120, 101,
138 108, 115, 80, 101, 114, 82,
139 111, 119, 0, 82, 111, 119,
140 83, 116, 114, 105, 100, 101,
141 0, 82, 111, 119, 115, 80,
142 101, 114, 83, 108, 105, 99,
143 101, 0, 80, 111, 115, 105,
144 116, 105, 111, 110, 79, 102,
145 102, 115, 101, 116, 0, 171,
149 115, 105, 116, 105, 111, 110,
150 83, 99, 97, 108, 101, 0,
151 84, 101, 120, 76, 111, 99,
152 97, 116, 105, 111, 110, 79,
153 102, 102, 115, 101, 116, 0,
157 120, 76, 111, 99, 97, 116,
158 105, 111, 110, 83, 99, 97,
159 108, 101, 0, 77, 105, 99,
160 114, 111, 115, 111, 102, 116,
161 32, 40, 82, 41, 32, 72,
162 76, 83, 76, 32, 83, 104,
163 97, 100, 101, 114, 32, 67,
164 111, 109, 112, 105, 108, 101,
165 114, 32, 57, 46, 51, 48,
166 46, 57, 50, 48, 48, 46,
167 49, 54, 51, 56, 52, 0,
168 73, 83, 71, 78, 44, 0,
175 95, 86, 101, 114, 116, 101,
176 120, 73, 68, 0, 79, 83,
177 71, 78, 108, 0, 0, 0,
191 0, 0, 83, 86, 95, 80,
192 111, 115, 105, 116, 105, 111,
193 110, 0, 84, 69, 88, 67,
194 79, 79, 82, 68, 0, 76,
195 65, 89, 69, 82, 0, 171,
196 83, 72, 68, 82, 252, 1,
199 0, 4, 70, 142, 32, 0,
204 103, 0, 0, 4, 242, 32,
212 54, 0, 0, 8, 194, 32,
217 128, 63, 38, 0, 0, 10,
220 246, 143, 32, 0, 0, 0,
222 150, 133, 32, 0, 0, 0,
226 0, 208, 0, 0, 10, 16,
231 0, 0, 42, 0, 16, 128,
250 26, 128, 32, 0, 0, 0,
254 42, 0, 16, 128, 65, 0,
256 26, 128, 32, 0, 0, 0,
266 42, 128, 32, 0, 0, 0,
274 50, 0, 0, 11, 50, 32,
276 230, 138, 32, 0, 0, 0,
279 0, 0, 70, 128, 32, 0,
282 83, 84, 65, 84, 116, 0,