1 | #if 0
|
---|
2 | //
|
---|
3 | // Generated by Microsoft (R) HLSL Shader Compiler 10.1
|
---|
4 | //
|
---|
5 | //
|
---|
6 | // Buffer Definitions:
|
---|
7 | //
|
---|
8 | // cbuffer VSParameters
|
---|
9 | // {
|
---|
10 | //
|
---|
11 | // float scaleX; // Offset: 0 Size: 4
|
---|
12 | // float scaleY; // Offset: 4 Size: 4
|
---|
13 | // float shiftX; // Offset: 8 Size: 4
|
---|
14 | // float shiftY; // Offset: 12 Size: 4
|
---|
15 | //
|
---|
16 | // }
|
---|
17 | //
|
---|
18 | //
|
---|
19 | // Resource Bindings:
|
---|
20 | //
|
---|
21 | // Name Type Format Dim HLSL Bind Count
|
---|
22 | // ------------------------------ ---------- ------- ----------- -------------- ------
|
---|
23 | // VSParameters cbuffer NA NA cb0 1
|
---|
24 | //
|
---|
25 | //
|
---|
26 | //
|
---|
27 | // Input signature:
|
---|
28 | //
|
---|
29 | // Name Index Mask Register SysValue Format Used
|
---|
30 | // -------------------- ----- ------ -------- -------- ------- ------
|
---|
31 | // SV_VertexID 0 x 0 VERTID uint x
|
---|
32 | //
|
---|
33 | //
|
---|
34 | // Output signature:
|
---|
35 | //
|
---|
36 | // Name Index Mask Register SysValue Format Used
|
---|
37 | // -------------------- ----- ------ -------- -------- ------- ------
|
---|
38 | // SV_POSITION 0 xyzw 0 POS float xyzw
|
---|
39 | // TEXCOORD 0 xy 1 NONE float xy
|
---|
40 | // TEXCOORD 1 zw 1 NONE float zw
|
---|
41 | //
|
---|
42 | vs_5_0
|
---|
43 | dcl_globalFlags refactoringAllowed
|
---|
44 | dcl_constantbuffer CB0[1], immediateIndexed
|
---|
45 | dcl_input_sgv v0.x, vertex_id
|
---|
46 | dcl_output_siv o0.xyzw, position
|
---|
47 | dcl_output o1.xy
|
---|
48 | dcl_output o1.zw
|
---|
49 | dcl_temps 1
|
---|
50 | and r0.xyzw, v0.xxxx, l(1, 2, 1, 2)
|
---|
51 | movc r0.xyzw, r0.xyzw, l(1.000000,-1.000000,1.000000,1.000000), l(-1.000000,1.000000,0,0)
|
---|
52 | mad o0.xy, r0.xyxx, cb0[0].xyxx, cb0[0].zwzz
|
---|
53 | mov o1.xy, r0.zwzz
|
---|
54 | mov o0.zw, l(0,0,0,1.000000)
|
---|
55 | mov o1.zw, l(0,0,1.000000,0)
|
---|
56 | ret
|
---|
57 | // Approximately 7 instruction slots used
|
---|
58 | #endif
|
---|
59 |
|
---|
60 | const BYTE g_vs_blitter[] =
|
---|
61 | {
|
---|
62 | 68, 88, 66, 67, 225, 37,
|
---|
63 | 228, 7, 29, 113, 112, 121,
|
---|
64 | 16, 192, 133, 165, 100, 74,
|
---|
65 | 183, 80, 1, 0, 0, 0,
|
---|
66 | 96, 4, 0, 0, 5, 0,
|
---|
67 | 0, 0, 52, 0, 0, 0,
|
---|
68 | 212, 1, 0, 0, 8, 2,
|
---|
69 | 0, 0, 120, 2, 0, 0,
|
---|
70 | 196, 3, 0, 0, 82, 68,
|
---|
71 | 69, 70, 152, 1, 0, 0,
|
---|
72 | 1, 0, 0, 0, 108, 0,
|
---|
73 | 0, 0, 1, 0, 0, 0,
|
---|
74 | 60, 0, 0, 0, 0, 5,
|
---|
75 | 254, 255, 0, 1, 0, 0,
|
---|
76 | 109, 1, 0, 0, 82, 68,
|
---|
77 | 49, 49, 60, 0, 0, 0,
|
---|
78 | 24, 0, 0, 0, 32, 0,
|
---|
79 | 0, 0, 40, 0, 0, 0,
|
---|
80 | 36, 0, 0, 0, 12, 0,
|
---|
81 | 0, 0, 0, 0, 0, 0,
|
---|
82 | 92, 0, 0, 0, 0, 0,
|
---|
83 | 0, 0, 0, 0, 0, 0,
|
---|
84 | 0, 0, 0, 0, 0, 0,
|
---|
85 | 0, 0, 0, 0, 0, 0,
|
---|
86 | 1, 0, 0, 0, 0, 0,
|
---|
87 | 0, 0, 86, 83, 80, 97,
|
---|
88 | 114, 97, 109, 101, 116, 101,
|
---|
89 | 114, 115, 0, 171, 171, 171,
|
---|
90 | 92, 0, 0, 0, 4, 0,
|
---|
91 | 0, 0, 132, 0, 0, 0,
|
---|
92 | 16, 0, 0, 0, 0, 0,
|
---|
93 | 0, 0, 0, 0, 0, 0,
|
---|
94 | 36, 1, 0, 0, 0, 0,
|
---|
95 | 0, 0, 4, 0, 0, 0,
|
---|
96 | 2, 0, 0, 0, 52, 1,
|
---|
97 | 0, 0, 0, 0, 0, 0,
|
---|
98 | 255, 255, 255, 255, 0, 0,
|
---|
99 | 0, 0, 255, 255, 255, 255,
|
---|
100 | 0, 0, 0, 0, 88, 1,
|
---|
101 | 0, 0, 4, 0, 0, 0,
|
---|
102 | 4, 0, 0, 0, 2, 0,
|
---|
103 | 0, 0, 52, 1, 0, 0,
|
---|
104 | 0, 0, 0, 0, 255, 255,
|
---|
105 | 255, 255, 0, 0, 0, 0,
|
---|
106 | 255, 255, 255, 255, 0, 0,
|
---|
107 | 0, 0, 95, 1, 0, 0,
|
---|
108 | 8, 0, 0, 0, 4, 0,
|
---|
109 | 0, 0, 2, 0, 0, 0,
|
---|
110 | 52, 1, 0, 0, 0, 0,
|
---|
111 | 0, 0, 255, 255, 255, 255,
|
---|
112 | 0, 0, 0, 0, 255, 255,
|
---|
113 | 255, 255, 0, 0, 0, 0,
|
---|
114 | 102, 1, 0, 0, 12, 0,
|
---|
115 | 0, 0, 4, 0, 0, 0,
|
---|
116 | 2, 0, 0, 0, 52, 1,
|
---|
117 | 0, 0, 0, 0, 0, 0,
|
---|
118 | 255, 255, 255, 255, 0, 0,
|
---|
119 | 0, 0, 255, 255, 255, 255,
|
---|
120 | 0, 0, 0, 0, 115, 99,
|
---|
121 | 97, 108, 101, 88, 0, 102,
|
---|
122 | 108, 111, 97, 116, 0, 171,
|
---|
123 | 171, 171, 0, 0, 3, 0,
|
---|
124 | 1, 0, 1, 0, 0, 0,
|
---|
125 | 0, 0, 0, 0, 0, 0,
|
---|
126 | 0, 0, 0, 0, 0, 0,
|
---|
127 | 0, 0, 0, 0, 0, 0,
|
---|
128 | 0, 0, 0, 0, 43, 1,
|
---|
129 | 0, 0, 115, 99, 97, 108,
|
---|
130 | 101, 89, 0, 115, 104, 105,
|
---|
131 | 102, 116, 88, 0, 115, 104,
|
---|
132 | 105, 102, 116, 89, 0, 77,
|
---|
133 | 105, 99, 114, 111, 115, 111,
|
---|
134 | 102, 116, 32, 40, 82, 41,
|
---|
135 | 32, 72, 76, 83, 76, 32,
|
---|
136 | 83, 104, 97, 100, 101, 114,
|
---|
137 | 32, 67, 111, 109, 112, 105,
|
---|
138 | 108, 101, 114, 32, 49, 48,
|
---|
139 | 46, 49, 0, 171, 171, 171,
|
---|
140 | 73, 83, 71, 78, 44, 0,
|
---|
141 | 0, 0, 1, 0, 0, 0,
|
---|
142 | 8, 0, 0, 0, 32, 0,
|
---|
143 | 0, 0, 0, 0, 0, 0,
|
---|
144 | 6, 0, 0, 0, 1, 0,
|
---|
145 | 0, 0, 0, 0, 0, 0,
|
---|
146 | 1, 1, 0, 0, 83, 86,
|
---|
147 | 95, 86, 101, 114, 116, 101,
|
---|
148 | 120, 73, 68, 0, 79, 83,
|
---|
149 | 71, 78, 104, 0, 0, 0,
|
---|
150 | 3, 0, 0, 0, 8, 0,
|
---|
151 | 0, 0, 80, 0, 0, 0,
|
---|
152 | 0, 0, 0, 0, 1, 0,
|
---|
153 | 0, 0, 3, 0, 0, 0,
|
---|
154 | 0, 0, 0, 0, 15, 0,
|
---|
155 | 0, 0, 92, 0, 0, 0,
|
---|
156 | 0, 0, 0, 0, 0, 0,
|
---|
157 | 0, 0, 3, 0, 0, 0,
|
---|
158 | 1, 0, 0, 0, 3, 12,
|
---|
159 | 0, 0, 92, 0, 0, 0,
|
---|
160 | 1, 0, 0, 0, 0, 0,
|
---|
161 | 0, 0, 3, 0, 0, 0,
|
---|
162 | 1, 0, 0, 0, 12, 3,
|
---|
163 | 0, 0, 83, 86, 95, 80,
|
---|
164 | 79, 83, 73, 84, 73, 79,
|
---|
165 | 78, 0, 84, 69, 88, 67,
|
---|
166 | 79, 79, 82, 68, 0, 171,
|
---|
167 | 171, 171, 83, 72, 69, 88,
|
---|
168 | 68, 1, 0, 0, 80, 0,
|
---|
169 | 1, 0, 81, 0, 0, 0,
|
---|
170 | 106, 8, 0, 1, 89, 0,
|
---|
171 | 0, 4, 70, 142, 32, 0,
|
---|
172 | 0, 0, 0, 0, 1, 0,
|
---|
173 | 0, 0, 96, 0, 0, 4,
|
---|
174 | 18, 16, 16, 0, 0, 0,
|
---|
175 | 0, 0, 6, 0, 0, 0,
|
---|
176 | 103, 0, 0, 4, 242, 32,
|
---|
177 | 16, 0, 0, 0, 0, 0,
|
---|
178 | 1, 0, 0, 0, 101, 0,
|
---|
179 | 0, 3, 50, 32, 16, 0,
|
---|
180 | 1, 0, 0, 0, 101, 0,
|
---|
181 | 0, 3, 194, 32, 16, 0,
|
---|
182 | 1, 0, 0, 0, 104, 0,
|
---|
183 | 0, 2, 1, 0, 0, 0,
|
---|
184 | 1, 0, 0, 10, 242, 0,
|
---|
185 | 16, 0, 0, 0, 0, 0,
|
---|
186 | 6, 16, 16, 0, 0, 0,
|
---|
187 | 0, 0, 2, 64, 0, 0,
|
---|
188 | 1, 0, 0, 0, 2, 0,
|
---|
189 | 0, 0, 1, 0, 0, 0,
|
---|
190 | 2, 0, 0, 0, 55, 0,
|
---|
191 | 0, 15, 242, 0, 16, 0,
|
---|
192 | 0, 0, 0, 0, 70, 14,
|
---|
193 | 16, 0, 0, 0, 0, 0,
|
---|
194 | 2, 64, 0, 0, 0, 0,
|
---|
195 | 128, 63, 0, 0, 128, 191,
|
---|
196 | 0, 0, 128, 63, 0, 0,
|
---|
197 | 128, 63, 2, 64, 0, 0,
|
---|
198 | 0, 0, 128, 191, 0, 0,
|
---|
199 | 128, 63, 0, 0, 0, 0,
|
---|
200 | 0, 0, 0, 0, 50, 0,
|
---|
201 | 0, 11, 50, 32, 16, 0,
|
---|
202 | 0, 0, 0, 0, 70, 0,
|
---|
203 | 16, 0, 0, 0, 0, 0,
|
---|
204 | 70, 128, 32, 0, 0, 0,
|
---|
205 | 0, 0, 0, 0, 0, 0,
|
---|
206 | 230, 138, 32, 0, 0, 0,
|
---|
207 | 0, 0, 0, 0, 0, 0,
|
---|
208 | 54, 0, 0, 5, 50, 32,
|
---|
209 | 16, 0, 1, 0, 0, 0,
|
---|
210 | 230, 10, 16, 0, 0, 0,
|
---|
211 | 0, 0, 54, 0, 0, 8,
|
---|
212 | 194, 32, 16, 0, 0, 0,
|
---|
213 | 0, 0, 2, 64, 0, 0,
|
---|
214 | 0, 0, 0, 0, 0, 0,
|
---|
215 | 0, 0, 0, 0, 0, 0,
|
---|
216 | 0, 0, 128, 63, 54, 0,
|
---|
217 | 0, 8, 194, 32, 16, 0,
|
---|
218 | 1, 0, 0, 0, 2, 64,
|
---|
219 | 0, 0, 0, 0, 0, 0,
|
---|
220 | 0, 0, 0, 0, 0, 0,
|
---|
221 | 128, 63, 0, 0, 0, 0,
|
---|
222 | 62, 0, 0, 1, 83, 84,
|
---|
223 | 65, 84, 148, 0, 0, 0,
|
---|
224 | 7, 0, 0, 0, 1, 0,
|
---|
225 | 0, 0, 0, 0, 0, 0,
|
---|
226 | 4, 0, 0, 0, 1, 0,
|
---|
227 | 0, 0, 0, 0, 0, 0,
|
---|
228 | 1, 0, 0, 0, 1, 0,
|
---|
229 | 0, 0, 0, 0, 0, 0,
|
---|
230 | 0, 0, 0, 0, 0, 0,
|
---|
231 | 0, 0, 0, 0, 0, 0,
|
---|
232 | 0, 0, 0, 0, 0, 0,
|
---|
233 | 0, 0, 0, 0, 0, 0,
|
---|
234 | 0, 0, 0, 0, 0, 0,
|
---|
235 | 0, 0, 0, 0, 0, 0,
|
---|
236 | 0, 0, 0, 0, 3, 0,
|
---|
237 | 0, 0, 1, 0, 0, 0,
|
---|
238 | 0, 0, 0, 0, 0, 0,
|
---|
239 | 0, 0, 0, 0, 0, 0,
|
---|
240 | 0, 0, 0, 0, 0, 0,
|
---|
241 | 0, 0, 0, 0, 0, 0,
|
---|
242 | 0, 0, 0, 0, 0, 0,
|
---|
243 | 0, 0, 0, 0, 0, 0,
|
---|
244 | 0, 0, 0, 0, 0, 0,
|
---|
245 | 0, 0, 0, 0, 0, 0,
|
---|
246 | 0, 0, 0, 0, 0, 0,
|
---|
247 | 0, 0, 0, 0, 0, 0,
|
---|
248 | 0, 0, 0, 0
|
---|
249 | };
|
---|