26#define FCC_TEXT MAKEFOURCC('T','E','X','T')
27#define FCC_CTAB MAKEFOURCC('C','T','A','B')
45 0x0000001f, 0x80000000, 0x900f0000,
46 0x00000009, 0xc0010000, 0x90e40000, 0xa0e40000,
47 0x00000009, 0xc0020000, 0x90e40000, 0xa0e40001,
48 0x00000009, 0xc0040000, 0x90e40000, 0xa0e40002,
49 0x00000009, 0xc0080000, 0x90e40000, 0xa0e40003,
54 0x00000051, 0xa00f0001, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
55 0x00000042, 0xb00f0000,
56 0x00000008, 0x800f0000, 0xa0e40001, 0xa0e40000,
57 0x00000005, 0x800f0000, 0x90e40000, 0x80e40000,
58 0x00000005, 0x800f0000, 0xb0e40000, 0x80e40000,
64 0x0008fffe,
FCC_CTAB, 0x0000001c, 0x00000010, 0xfffe0300, 0x00000000,
65 0x00000000, 0x00000000, 0x00000000,
66 0x0004fffe,
FCC_TEXT, 0x00000000, 0x00000000, 0x00000000,
72 0x0000001c, 0x000000a9, 0xfffe0300,
73 0x00000000, 0x00000000,
79 0x0000001c, 0x000000a4, 0xfffe0300, 0x00000003, 0x0000001c, 0x20008100,
81 0x00000058, 0x00070002, 0x00000001, 0x00000064, 0x00000000,
82 0x00000074, 0x00000002, 0x00000004, 0x00000080, 0x00000000,
83 0x00000090, 0x00040002, 0x00000003, 0x00000080, 0x00000000,
84 0x736e6f43, 0x746e6174, 0xabab0031,
85 0x00030001, 0x00040001, 0x00000001, 0x00000000,
86 0x736e6f43, 0x746e6174, 0xabab0032,
87 0x00030003, 0x00040004, 0x00000001, 0x00000000,
88 0x736e6f43, 0x746e6174, 0xabab0033,
89 0x335f7376, 0xab00305f,
90 0x656e6957, 0x6f727020, 0x7463656a, 0xababab00,
96 0x0000001c, 0x000000ec, 0xfffe0300, 0x00000005, 0x0000001c, 0x20008100,
98 0x00000080, 0x00060002, 0x00000001, 0x00000084, 0x00000000,
99 0x00000094, 0x00070002, 0x00000001, 0x00000098, 0x00000000,
100 0x000000A8, 0x00040002, 0x00000001, 0x000000AC, 0x00000000,
101 0x000000BC, 0x00050002, 0x00000001, 0x000000C0, 0x00000000,
102 0x000000D0, 0x00000002, 0x00000004, 0x000000D4, 0x00000000,
103 0xabab0066, 0x00030000, 0x00010001, 0x00000001, 0x00000000,
104 0xab003466, 0x00030001, 0x00040001, 0x00000001, 0x00000000,
105 0xabab0069, 0x00020000, 0x00010001, 0x00000001, 0x00000000,
106 0xab003469, 0x00020001, 0x00040001, 0x00000001, 0x00000000,
107 0x0070766d, 0x00030003, 0x00040004, 0x00000001, 0x00000000,
108 0x335f7376, 0xab00305f,
109 0x656e6957, 0x6f727020, 0x7463656a, 0xababab00,
113 {
"mvp",
D3DXRS_FLOAT4, 0, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 4, 4, 1, 0, 64,
NULL},
114 {
"i",
D3DXRS_FLOAT4, 4, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL},
115 {
"i4",
D3DXRS_FLOAT4, 5, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 4, 1, 0, 16,
NULL},
116 {
"f",
D3DXRS_FLOAT4, 6, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL},
117 {
"f4",
D3DXRS_FLOAT4, 7, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 4, 1, 0, 16,
NULL}};
122 0x0000001c, 0x000000b4, 0xfffe0300, 0x00000003, 0x0000001c, 0x20008100,
124 0x00000058, 0x00070002, 0x00000001, 0x00000064, 0x00000000,
125 0x00000074, 0x00000002, 0x00000004, 0x00000080, 0x00000000,
126 0x00000090, 0x00040002, 0x00000002, 0x0000009c, 0x00000000,
127 0x74616D66, 0x33786972, 0xab003178,
128 0x00030003, 0x00010003, 0x00000001, 0x00000000,
129 0x74616D66, 0x34786972, 0xab003478,
130 0x00030003, 0x00040004, 0x00000001, 0x00000000,
131 0x74616D69, 0x32786972, 0xab003378,
132 0x00020002, 0x00030002, 0x00000001, 0x00000000,
133 0x335f7376, 0xab00305f,
134 0x656e6957, 0x6f727020, 0x7463656a, 0xababab00,
138 {
"fmatrix4x4",
D3DXRS_FLOAT4, 0, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 4, 4, 1, 0, 64,
NULL},
139 {
"imatrix2x3",
D3DXRS_FLOAT4, 4, 2,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 2, 3, 1, 0, 24,
NULL},
140 {
"fmatrix3x1",
D3DXRS_FLOAT4, 7, 1,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 1, 1, 0, 12,
NULL},
146 0x0000001c, 0x0000012b, 0xfffe0200, 0x00000006, 0x0000001c, 0x00000100,
148 0x00000094, 0x00070002, 0x00000003, 0x0000009c, 0x00000000,
149 0x000000ac, 0x000d0002, 0x00000002, 0x000000b4, 0x00000000,
150 0x000000c4, 0x000a0002, 0x00000003, 0x000000cc, 0x00000000,
151 0x000000dc, 0x000f0002, 0x00000002, 0x000000e4, 0x00000000,
152 0x000000f4, 0x00040002, 0x00000003, 0x000000fc, 0x00000000,
153 0x0000010c, 0x00000002, 0x00000004, 0x00000114, 0x00000000,
154 0x33783263, 0xababab00,
155 0x00030003, 0x00030002, 0x00000001, 0x00000000,
156 0x32783363, 0xababab00,
157 0x00030003, 0x00020003, 0x00000001, 0x00000000,
158 0x33783363, 0xababab00,
159 0x00030003, 0x00030003, 0x00000001, 0x00000000,
160 0x33783272, 0xababab00,
161 0x00030002, 0x00030002, 0x00000001, 0x00000000,
162 0x32783372, 0xababab00,
163 0x00030002, 0x00020003, 0x00000001, 0x00000000,
164 0x34783472, 0xababab00,
165 0x00030002, 0x00040004, 0x00000001, 0x00000000,
166 0x325f7376, 0x4100305f, 0x41414141, 0x00414141,
170 {
"c2x3",
D3DXRS_FLOAT4, 7, 3,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 2, 3, 1, 0, 24,
NULL},
171 {
"c3x2",
D3DXRS_FLOAT4, 13, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL},
172 {
"c3x3",
D3DXRS_FLOAT4, 10, 3,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 3, 1, 0, 36,
NULL},
173 {
"r2x3",
D3DXRS_FLOAT4, 15, 2,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 2, 3, 1, 0, 24,
NULL},
174 {
"r3x2",
D3DXRS_FLOAT4, 4, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL},
175 {
"r4x4",
D3DXRS_FLOAT4, 0, 4,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 4, 4, 1, 0, 64,
NULL}};
180 0x0000001c, 0x0000013c, 0xfffe0300, 0x00000006, 0x0000001c, 0x20008100,
182 0x00000094, 0x000E0002, 0x00000002, 0x0000009c, 0x00000000,
183 0x000000ac, 0x00100002, 0x00000002, 0x000000b8, 0x00000000,
184 0x000000c8, 0x00080002, 0x00000004, 0x000000d0, 0x00000000,
185 0x000000e0, 0x00000002, 0x00000008, 0x000000ec, 0x00000000,
186 0x000000fc, 0x000C0002, 0x00000002, 0x00000108, 0x00000000,
187 0x00000118, 0x00120002, 0x00000001, 0x00000124, 0x00000000,
188 0x72726162, 0xab007961,
189 0x00010000, 0x00010001, 0x00000002, 0x00000000,
190 0x63657662, 0x61727261, 0xabab0079,
191 0x00010001, 0x00030001, 0x00000003, 0x00000000,
192 0x72726166, 0xab007961,
193 0x00030000, 0x00010001, 0x00000004, 0x00000000,
194 0x78746d66, 0x61727261, 0xabab0079,
195 0x00030002, 0x00040004, 0x00000002, 0x00000000,
196 0x63657666, 0x61727261, 0xabab0079,
197 0x00030001, 0x00040001, 0x00000002, 0x00000000,
198 0x63657669, 0x61727261, 0xabab0079,
199 0x00020001, 0x00040001, 0x00000001, 0x00000000,
200 0x335f7376, 0xab00305f,
201 0x656e6957, 0x6f727020, 0x7463656a, 0xababab00,
205 {
"fmtxarray",
D3DXRS_FLOAT4, 0, 8,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 4, 4, 2, 0, 128,
NULL},
206 {
"farray",
D3DXRS_FLOAT4, 8, 4,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 4, 0, 16,
NULL},
207 {
"fvecarray",
D3DXRS_FLOAT4, 12, 2,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 4, 2, 0, 32,
NULL},
208 {
"barray",
D3DXRS_FLOAT4, 14, 2,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 2, 0, 8,
NULL},
209 {
"bvecarray",
D3DXRS_FLOAT4, 16, 2,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 3, 0, 36,
NULL},
210 {
"ivecarray",
D3DXRS_FLOAT4, 18, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 4, 1, 0, 16,
NULL}};
215 0x0000001c, 0x000001b7, 0xfffe0200, 0x00000005, 0x0000001c,
216 0x00000100, 0x000001b0,
217 0x00000080, 0x00080002, 0x00000003, 0x00000084, 0x00000094,
218 0x000000c4, 0x000c0002, 0x00000001, 0x000000c8, 0x000000d8,
219 0x000000e8, 0x00040002, 0x00000004, 0x000000f0, 0x00000100,
220 0x00000140, 0x00000002, 0x00000004, 0x000000f0, 0x00000148,
221 0x00000188, 0x000b0002, 0x00000001, 0x00000190, 0x000001a0,
223 0x00030000, 0x00010001, 0x00000003, 0x00000000,
224 0x42c80000, 0x00000000, 0x00000000, 0x00000000,
225 0x43480000, 0x00000000, 0x00000000, 0x00000000,
226 0x43960000, 0x00000000, 0x00000000, 0x00000000,
228 0x00030000, 0x00010001, 0x00000001, 0x00000000,
229 0x411fd70a, 0x00000000, 0x00000000, 0x00000000,
232 0x00030003, 0x00040004, 0x00000001, 0x00000000,
233 0x41300000, 0x425c0000, 0x42c60000, 0x44a42000,
234 0x41b00000, 0x42840000, 0x447c8000, 0x44b0c000,
235 0x42040000, 0x429a0000, 0x448ae000, 0x44bd6000,
236 0x42300000, 0x42b00000, 0x44978000, 0x44ca0000,
239 0x3f800000, 0x40a00000, 0x41100000, 0x41500000,
240 0x40000000, 0x40c00000, 0x41200000, 0x41600000,
241 0x40400000, 0x40e00000, 0x41300000, 0x41700000,
242 0x40800000, 0x41000000, 0x41400000, 0x41800000,
245 0x00030001, 0x00040001, 0x00000001, 0x00000000,
246 0x41200000, 0x41a00000, 0x41f00000, 0x42200000,
247 0x325f7376, 0x4d004141, 0x41414141, 0x00000000,
250static const float mat4_default_value[] = {1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15, 4, 8, 12, 16};
251static const float mat3_default_value[] = {11, 55, 99, 1313, 22, 66, 1010, 1414, 33, 77, 1111, 1515, 44, 88, 1212, 1616};
252static const float arr_default_value[] = {100, 0, 0, 0, 200, 0, 0, 0, 300, 0, 0, 0};
257 {
"mat4",
D3DXRS_FLOAT4, 0, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 4, 4, 1, 0, 64,
mat4_default_value},
258 {
"mat3",
D3DXRS_FLOAT4, 4, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 4, 4, 1, 0, 64,
mat3_default_value},
259 {
"arr",
D3DXRS_FLOAT4, 8, 3,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 3, 0, 12,
arr_default_value},
260 {
"vec4",
D3DXRS_FLOAT4, 11, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 4, 1, 0, 16,
vec4_default_value},
261 {
"flt",
D3DXRS_FLOAT4, 12, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
flt_default_value}};
266 0x0000001c, 0x000000b4, 0xfffe0300, 0x00000003, 0x0000001c, 0x20008100,
268 0x00000058, 0x00020002, 0x00000001, 0x00000064, 0x00000000,
269 0x00000074, 0x00000003, 0x00000001, 0x00000080, 0x00000000,
270 0x00000090, 0x00030003, 0x00000001, 0x0000009c, 0x00000000,
271 0x73746f6e, 0x6c706d61, 0xab007265,
272 0x00030001, 0x00040001, 0x00000001, 0x00000000,
273 0x706d6173, 0x3172656c, 0xababab00,
274 0x000c0004, 0x00010001, 0x00000001, 0x00000000,
275 0x706d6173, 0x3272656c, 0xababab00,
276 0x000d0004, 0x00010001, 0x00000001, 0x00000000,
277 0x335f7376, 0xab00305f,
278 0x656e6957, 0x6f727020, 0x7463656a, 0xababab00,
282 {
"sampler1",
D3DXRS_SAMPLER, 0, 1,
D3DXPC_OBJECT,
D3DXPT_SAMPLER2D, 1, 1, 1, 0, 4,
NULL},
283 {
"sampler2",
D3DXRS_SAMPLER, 3, 1,
D3DXPC_OBJECT,
D3DXPT_SAMPLER3D, 1, 1, 1, 0, 4,
NULL},
284 {
"notsampler",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 4, 1, 0, 16,
NULL}};
290 0x0000001c, 0x000000a4, 0xfffe0300, 0x00000003, 0x0000001c, 0x20008100,
292 0x00000058, 0x00070002, 0x00000001, 0x00000064, 0x00000000,
293 0x00000074, 0x00000002, 0x00000004, 0x00000080, 0x00000000,
294 0x00000090, 0x00040002, 0x00000003, 0x00000080, 0x00000000,
295 0x736e6f43, 0x746e6174, 0xabab0031,
296 0x00030001, 0x00040001, 0x00000001, 0x00000000,
297 0x736e6f43, 0x746e6174, 0xabab0032,
298 0x00030003, 0x00040004, 0x00000001, 0x00000000,
299 0x736e6f43, 0x746e6174, 0xabab0033,
300 0x335f7376, 0xab00305f,
301 0x656e6957, 0x6f727020, 0x7463656a, 0xababab00,
330 present_parameters.
Windowed = windowed;
354 ok(!!
context->d3d,
"Failed to create a D3D object.\n");
357 skip(
"Failed to create a D3D device.\n");
364 ok(
hr ==
S_OK,
"Failed to get backbuffer, hr %#lx.\n",
hr);
369#define release_test_context(a) release_test_context_(__LINE__, a)
376 ok(!refcount,
"Device has %lu references left.\n", refcount);
378 ok(!refcount,
"D3D object has %lu references left.\n", refcount);
394 struct vec3 position;
398 {{-1.0f, -1.0f, 0.0f}},
399 {{-1.0f, 1.0f, 0.0f}},
400 {{ 1.0f, -1.0f, 0.0f}},
401 {{ 1.0f, 1.0f, 0.0f}},
435 trace(
"Can't unlock the readback surface, hr %#lx.\n",
hr);
447 trace(
"Failed to get surface description, hr %#lx.\n",
hr);
455 trace(
"Can't create the readback surface, hr %#lx.\n",
hr);
462 trace(
"Can't load the readback surface, hr %#lx.\n",
hr);
468 trace(
"Can't lock the readback surface, hr %#lx.\n",
hr);
481 unsigned int diff =
x >
y ?
x -
y :
y -
x;
483 return diff <= max_diff;
489 &&
compare_uint((c1 >> 8) & 0xff, (c2 >> 8) & 0xff, max_diff)
490 &&
compare_uint((c1 >> 16) & 0xff, (c2 >> 16) & 0xff, max_diff)
491 &&
compare_uint((c1 >> 24) & 0xff, (c2 >> 24) & 0xff, max_diff);
500 ok(shader_size ==
expected,
"Got shader size %u, expected %u\n", shader_size,
expected);
504 ok(shader_size ==
expected,
"Got shader size %u, expected %u\n", shader_size,
expected);
507 ok(shader_size == 0,
"Got shader size %u, expected 0\n", shader_size);
512 DWORD shader_version;
515 ok(shader_version ==
D3DVS_VERSION(1, 1),
"Got shader version 0x%08lx, expected 0x%08x\n",
519 ok(shader_version ==
D3DPS_VERSION(1, 1),
"Got shader version 0x%08lx, expected 0x%08x\n",
523 ok(shader_version == 0,
"Got shader version 0x%08lx, expected 0\n", shader_version);
528 const void *
data = (
void *)0xdeadbeef;
538 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
539 ok(
size == 28,
"Got %u, expected 28\n",
size);
542 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
546 ok(
hr ==
S_FALSE,
"Got result %lx, expected 1 (S_FALSE)\n",
hr);
551 ok(
hr ==
S_FALSE,
"Got result %lx, expected 1 (S_FALSE)\n",
hr);
556 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
558 ok(
size == 28,
"Got result %u, expected 28\n",
size);
576 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
578 ok(
size == 4,
"Got result %u, expected 4\n",
size);
581 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
583 ok(
size == 4,
"Got result %u, expected 4\n",
size);
586 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
588 ok(
size == 4,
"Got result %u, expected 4\n",
size);
591 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
593 ok(
size == 4,
"Got result %u, expected 4\n",
size);
641 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK).\n",
hr);
642 ok(!
constant_table,
"D3DXGetShaderConstantTableEx() returned a non-NULL constant table.\n");
645 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK).\n",
hr);
646 ok(!
constant_table,
"D3DXGetShaderConstantTableEx() returned a non-NULL constant table.\n");
649 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
653 ok(
size == 28,
"Unexpected size %lu.\n",
size);
662 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
663 ok(
desc.Creator == (
const char *)
data + 0x10,
"Got result %p, expected %p\n",
664 desc.Creator, (
const char *)
data + 0x10);
666 ok(
desc.Constants == 0,
"Unexpected Constants %u.\n",
desc.Constants);
671 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
676 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
677 ok(!
strcmp(
desc.Creator,
"Wine project"),
"Got result '%s', expected 'Wine project'\n",
desc.Creator);
679 ok(
desc.Constants == 3,
"Got result %x, expected 3\n",
desc.Constants);
685 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
686 ok(!
strcmp(constant_desc.
Name,
"Constant1"),
"Got result '%s', expected 'Constant1'\n",
692 ok(constant_desc.
Rows == 1,
"Got result %x, expected 1\n", constant_desc.
Rows);
693 ok(constant_desc.
Columns == 4,
"Got result %x, expected 4\n", constant_desc.
Columns);
698 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
699 ok(!
strcmp(constant_desc.
Name,
"Constant2"),
"Got result '%s', expected 'Constant2'\n",
705 ok(constant_desc.
Rows == 4,
"Got result %x, expected 1\n", constant_desc.
Rows);
706 ok(constant_desc.
Columns == 4,
"Got result %x, expected 4\n", constant_desc.
Columns);
711 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
712 ok(!
strcmp(constant_desc.
Name,
"Constant3"),
"Got result '%s', expected 'Constant3'\n",
718 ok(constant_desc.
Rows == 4,
"Got result %x, expected 1\n", constant_desc.
Rows);
719 ok(constant_desc.
Columns == 4,
"Got result %x, expected 4\n", constant_desc.
Columns);
720 constant_desc_save = constant_desc;
731 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
740 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
742 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
746 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK)\n",
hr);
759 ok(
desc.Constants == 3,
"Unexpected Constants %u.\n",
desc.Constants);
768 ok(constant_desc.
Rows == 1,
"Unexpected Rows %u.\n", constant_desc.
Rows);
769 ok(constant_desc.
Columns == 4,
"Unexpected Columns %u.\n", constant_desc.
Columns);
780 ok(
hr ==
D3D_OK,
"Got result %lx, expected 0 (D3D_OK).\n",
hr);
781 ok(!
constant_table,
"D3DXGetShaderConstantTableEx() returned a non-NULL constant table.\n");
788 ID3DXConstantTable *
ctable;
808 ok(pCount == 1,
"%s in %s: Got more or less descriptions: %d\n",
expected->Name,
test_name, pCount);
811 "%s in %s: Got different names: Got %s, expected %s\n",
expected->Name,
814 "%s in %s: Got different register sets: Got %d, expected %d\n",
817 "%s in %s: Got different register indices: Got %d, expected %d\n",
820 "%s in %s: Got different register counts: Got %d, expected %d\n",
823 "%s in %s: Got different classes: Got %d, expected %d\n",
expected->Name,
826 "%s in %s: Got different types: Got %d, expected %d\n",
expected->Name,
829 "%s in %s: Got different dimensions: Got (%d, %d), expected (%d, %d)\n",
833 "%s in %s: Got different element count: Got %d, expected %d\n",
836 "%s in %s: Got different struct member count: Got %d, expected %d\n",
839 "%s in %s: Got different byte count: Got %d, expected %d\n",
845 "%s in %s: Got different default value: expected NULL\n",
851 "%s in %s: Got different default value: expected non-NULL\n",
881 0.514f, 0.626f, 0.804f, 0.786f,
882 0.238f, 0.956f, 0.374f, 0.483f,
883 0.109f, 0.586f, 0.900f, 0.255f,
884 0.898f, 0.411f, 0.932f, 0.275f}}};
885 static const D3DXVECTOR4 f4 = {0.350f, 0.526f, 0.925f, 0.021f};
886 static const float f = 0.12543f;
887 static const int i = 321;
888 static const D3DXMATRIX *matrix_pointer[] = {&mvp};
890 ID3DXConstantTable *
ctable;
898 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got 0x%08lx\n",
res);
902 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable mvp: got 0x%08lx\n",
res);
905 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetInt failed on variable i: got 0x%08lx\n",
res);
909 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetInt failed on variable i: got 0x%08lx\n",
res);
912 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetFloat failed on variable f: got 0x%08lx\n",
res);
915 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetVector failed on variable f4: got 0x%08lx\n",
res);
920 "The first row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
923 "The second row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
926 "The third row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
929 "The fourth row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
933 ok(
out[0] == (
float)
i &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f,
934 "The variable i was not set correctly, out={%f, %f, %f, %f}, should be {%d, 0.0, 0.0, 0.0}\n",
939 "The variable f was not set correctly, out={%f, %f, %f, %f}, should be {%f, 0.0, 0.0, 0.0}\n",
944 "The variable f4 was not set correctly, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
949 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetVector failed on variable f: 0x%08lx\n",
res);
953 "The variable f was not set correctly by ID3DXConstantTable_SetVector, got %f, should be %f\n",
959 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable f: 0x%08lx\n",
res);
963 "The variable f was not set correctly by ID3DXConstantTable_SetMatrix, got %f, should be %f\n",
974 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetVector failed on variable f: 0x%08lx\n",
res);
977 ok(
out[0] == 0.0f &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f
978 &&
out[4] == 0.0f &&
out[5] == 0.0f &&
out[6] == 0.0f &&
out[7] == 0.0f
979 &&
out[8] == 0.0f &&
out[9] == 0.0f &&
out[10] == 0.0f &&
out[11] == 0.0f
980 &&
out[12] == 0.0f &&
out[13] == 0.0f &&
out[14] == 0.0f &&
out[15] == 0.0f,
981 "The variable mvp was not set correctly by ID3DXConstantTable_SetVector, "
982 "got {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f %f; %f, %f, %f, %f}, "
983 "should be all 0.0f\n",
990 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetFloat failed on variable mvp: 0x%08lx\n",
res);
993 ok(
out[0] == 0.0f &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f
994 &&
out[4] == 0.0f &&
out[5] == 0.0f &&
out[6] == 0.0f &&
out[7] == 0.0f
995 &&
out[8] == 0.0f &&
out[9] == 0.0f &&
out[10] == 0.0f &&
out[11] == 0.0f
996 &&
out[12] == 0.0f &&
out[13] == 0.0f &&
out[14] == 0.0f &&
out[15] == 0.0f,
997 "The variable mvp was not set correctly by ID3DXConstantTable_SetFloat, "
998 "got {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f %f; %f, %f, %f, %f}, "
999 "should be all 0.0f\n",
1006 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetFloat failed on variable f4: 0x%08lx\n",
res);
1009 ok(
out[0] == 0.0f &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f,
1010 "The variable f4 was not set correctly by ID3DXConstantTable_SetFloat, "
1011 "got {%f, %f, %f, %f}, should be all 0.0f\n",
1015 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTranspose failed on variable f: 0x%08lx\n",
res);
1019 "The variable f was not set correctly by ID3DXConstantTable_SetMatrixTranspose, got %f, should be %f\n",
1023 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTranspose failed on variable f4: 0x%08lx\n",
res);
1027 "The variable f4 was not set correctly by ID3DXConstantTable_SetMatrixTranspose, "
1028 "got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1035 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixPointerArray failed on variable f: got %#lx\n",
res);
1039 "The variable f was not set correctly by ID3DXConstantTable_SetMatrixPointerArray, "
1040 "got %f, should be %f\n",
1044 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixPointerArray failed on variable f4: got %#lx\n",
res);
1048 "The variable f4 was not set correctly by ID3DXConstantTable_SetMatrixPointerArray, "
1049 "got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1056 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTransposePointerArray failed on variable f: got %#lx\n",
res);
1060 "The variable f was not set correctly by ID3DXConstantTable_SetMatrixTransposePointerArray, "
1061 "got %f, should be %f\n",
1065 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTransposePointerArray failed on variable f4: got %#lx\n",
res);
1069 "The variable f4 was not set correctly by ID3DXConstantTable_SetMatrixTransposePointerArray, "
1070 "got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1075 ok(refcnt == 0,
"The constant table reference count was %lu, should be 0\n", refcnt);
1081 {{{2.001f, 1.502f, 9.003f, 1.004f,
1082 5.005f, 3.006f, 3.007f, 6.008f,
1083 9.009f, 5.010f, 7.011f, 1.012f,
1084 5.013f, 5.014f, 5.015f, 9.016f}}};
1085 static const D3DXMATRIX *matrix_pointer[] = {&fmatrix};
1087 ID3DXConstantTable *
ctable;
1093 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %#lx\n",
res);
1096 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable imatrix2x3: got %#lx\n",
res);
1099 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable fmatrix3x1: got %#lx\n",
res);
1104 &&
out[4] == (
int)fmatrix.
_21 &&
out[5] == (
int)fmatrix.
_22 &&
out[6] == (
int)fmatrix.
_23
1106 "The variable imatrix2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f}, "
1107 "should be {%d, %d, %d, %d; %d, %d, %d, %d}\n",
1109 (
int)fmatrix.
_11, (
int)fmatrix.
_12, (
int)fmatrix.
_13, 0,
1110 (
int)fmatrix.
_21, (
int)fmatrix.
_22, (
int)fmatrix.
_23, 0);
1114 "The variable fmatrix3x1 was not set correctly, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1116 fmatrix.
_11, fmatrix.
_21, fmatrix.
_31, 0.0f);
1121 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %#lx\n",
res);
1125 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable c2x3: got %#lx\n",
res);
1128 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable r2x3: got %#lx\n",
res);
1131 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable c3x2: got %#lx\n",
res);
1134 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable r3x2: got %#lx\n",
res);
1137 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable c3x3: got %#lx\n",
res);
1141 &&
out[4] == fmatrix.
_12 &&
out[5] == fmatrix.
_22 &&
out[6] == 0.0f &&
out[7] == 0.0f
1142 &&
out[8] == fmatrix.
_13 &&
out[9] == fmatrix.
_23 &&
out[10] == 0.0f &&
out[11] == 0.0f,
1143 "The variable c2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1144 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1148 fmatrix.
_11, fmatrix.
_21, 0.0f, 0.0f,
1149 fmatrix.
_12, fmatrix.
_22, 0.0f, 0.0f,
1150 fmatrix.
_13, fmatrix.
_23, 0.0f, 0.0f);
1153 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed on variable r4x4: got %#lx\n",
res);
1158 "The variable r2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f}, "
1159 "should be {%f, %f, %f, %f; %f, %f, %f, %f}\n",
1161 fmatrix.
_11, fmatrix.
_12, fmatrix.
_13, 0.0f,
1162 fmatrix.
_21, fmatrix.
_22, fmatrix.
_23, 0.0f);
1167 "The variable c3x2 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f}, "
1168 "should be {%f, %f, %f, %f; %f, %f, %f, %f}\n",
1170 fmatrix.
_11, fmatrix.
_21, fmatrix.
_31, 0.0f,
1171 fmatrix.
_12, fmatrix.
_22, fmatrix.
_32, 0.0f);
1175 &&
out[4] == fmatrix.
_21 &&
out[5] == fmatrix.
_22 &&
out[6] == 0.0f &&
out[7] == 0.0f
1176 &&
out[8] == fmatrix.
_31 &&
out[9] == fmatrix.
_32 &&
out[10] == 0.0f &&
out[11] == 0.0f,
1177 "The variable r3x2 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1178 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1179 out[0],
out[1],
out[2],
out[3],
out[4],
out[5],
out[6],
out[7],
out[8],
out[9],
out[10],
out[11],
1180 fmatrix.
_11, fmatrix.
_12, 0.0f, 0.0f,
1181 fmatrix.
_21, fmatrix.
_22, 0.0f, 0.0f,
1182 fmatrix.
_31, fmatrix.
_32, 0.0f, 0.0f);
1188 "The variable c3x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1189 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1190 out[0],
out[1],
out[2],
out[3],
out[4],
out[5],
out[6],
out[7],
out[8],
out[9],
out[10],
out[11],
1191 fmatrix.
_11, fmatrix.
_21, fmatrix.
_31, 0.0f,
1192 fmatrix.
_12, fmatrix.
_22, fmatrix.
_32, 0.0f,
1193 fmatrix.
_13, fmatrix.
_23, fmatrix.
_33, 0.0f);
1200 "The variable r4x4 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1201 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1211 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTranspose failed on variable c2x3: got %#lx\n",
res);
1214 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTranspose failed on variable r2x3: got %#lx\n",
res);
1218 &&
out[4] == fmatrix.
_21 &&
out[5] == fmatrix.
_22 &&
out[6] == 0.0f &&
out[7] == 0.0f
1219 &&
out[8] == fmatrix.
_31 &&
out[9] == fmatrix.
_32 &&
out[10] == 0.0f &&
out[11] == 0.0f,
1220 "The variable c2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1221 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1225 fmatrix.
_11, fmatrix.
_12, 0.0f, 0.0f,
1226 fmatrix.
_21, fmatrix.
_22, 0.0f, 0.0f,
1227 fmatrix.
_31, fmatrix.
_32, 0.0f, 0.0f);
1232 "The variable r2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f}, "
1233 "should be {%f, %f, %f, %f; %f, %f, %f, %f}\n",
1235 fmatrix.
_11, fmatrix.
_21, fmatrix.
_31, 0.0f,
1236 fmatrix.
_12, fmatrix.
_22, fmatrix.
_32, 0.0f);
1240 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixPointerArray failed on variable c2x3: got %#lx\n",
res);
1243 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixPointerArray failed on variable r2x3: got %#lx\n",
res);
1247 &&
out[4] == fmatrix.
_12 &&
out[5] == fmatrix.
_22 &&
out[6] == 0.0f &&
out[7] == 0.0f
1248 &&
out[8] == fmatrix.
_13 &&
out[9] == fmatrix.
_23 &&
out[10] == 0.0f &&
out[11] == 0.0f,
1249 "The variable c2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1250 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1254 fmatrix.
_11, fmatrix.
_21, 0.0f, 0.0f,
1255 fmatrix.
_12, fmatrix.
_22, 0.0f, 0.0f,
1256 fmatrix.
_13, fmatrix.
_23, 0.0f, 0.0f);
1261 "The variable r2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f}, "
1262 "should be {%f, %f, %f, %f; %f, %f, %f, %f}\n",
1264 fmatrix.
_11, fmatrix.
_12, fmatrix.
_13, 0.0f,
1265 fmatrix.
_21, fmatrix.
_22, fmatrix.
_23, 0.0f);
1269 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTransposePointerArray failed on variable c2x3: got %#lx\n",
res);
1272 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixTransposePointerArray failed on variable r2x3: got %#lx\n",
res);
1276 &&
out[4] == fmatrix.
_21 &&
out[5] == fmatrix.
_22 &&
out[6] == 0.0f &&
out[7] == 0.0f
1277 &&
out[8] == fmatrix.
_31 &&
out[9] == fmatrix.
_32 &&
out[10] == 0.0f &&
out[11] == 0.0f,
1278 "The variable c2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1279 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1283 fmatrix.
_11, fmatrix.
_12, 0.0f, 0.0f,
1284 fmatrix.
_21, fmatrix.
_22, 0.0f, 0.0f,
1285 fmatrix.
_31, fmatrix.
_32, 0.0f, 0.0f);
1290 "The variable r2x3 was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f}, "
1291 "should be {%f, %f, %f, %f; %f, %f, %f, %f}\n",
1293 fmatrix.
_11, fmatrix.
_21, fmatrix.
_31, 0.0f,
1294 fmatrix.
_12, fmatrix.
_22, fmatrix.
_32, 0.0f);
1301 static const float farray[8] = {
1302 0.005f, 0.745f, 0.973f, 0.264f,
1303 0.010f, 0.020f, 0.030f, 0.040f};
1305 {{{0.001f, 0.002f, 0.003f, 0.004f,
1306 0.005f, 0.006f, 0.007f, 0.008f,
1307 0.009f, 0.010f, 0.011f, 0.012f,
1308 0.013f, 0.014f, 0.015f, 0.016f}}},
1309 {{{0.010f, 0.020f, 0.030f, 0.040f,
1310 0.050f, 0.060f, 0.070f, 0.080f,
1311 0.090f, 0.100f, 0.110f, 0.120f,
1312 0.130f, 0.140f, 0.150f, 0.160f}}}};
1313 static const int iarray[4] = {1, 2, 3, 4};
1315 {0.745f, 0.997f, 0.353f, 0.237f},
1316 {0.060f, 0.455f, 0.333f, 0.983f}};
1319 ID3DXConstantTable *
ctable;
1332 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got 0x%08lx\n",
res);
1338 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetFloatArray failed: got 0x%08lx\n",
res);
1341 ok(
out[0] == farray[0] &&
out[4] == farray[1] &&
out[8] == farray[2] &&
out[12] == farray[3],
1342 "The in-bounds elements of the array were not set, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1343 out[0],
out[4],
out[8],
out[12], farray[0], farray[1], farray[2], farray[3]);
1344 ok(
out[16] == 0.0f &&
out[20] == 0.0f &&
out[24] == 0.0f &&
out[28] == 0.0f,
1345 "The excess elements of the array were set, out={%f, %f, %f, %f}, should be all 0.0f\n",
1350 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed: got 0x%08lx\n",
res);
1353 ok(
out[0] == 0.0f &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f,
1354 "The array was set, out={%f, %f, %f, %f}, should be all 0.0f\n",
out[0],
out[1],
out[2],
out[3]);
1358 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetIntArray failed: got 0x%08lx\n",
res);
1361 ok(
out[0] == iarray[0] &&
out[4] == iarray[1] &&
out[8] == iarray[2] &&
out[12] == iarray[3],
1362 "SetIntArray did not properly set a float array: out={%f, %f, %f, %f}, should be {%d, %d, %d, %d}\n",
1363 out[0],
out[4],
out[8],
out[12], iarray[0], iarray[1], iarray[2], iarray[3]);
1366 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetFloatArray failed: got x0%08lx\n",
res);
1369 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetVectorArray failed: got 0x%08lx\n",
res);
1372 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrixArray failed: got 0x%08lx\n",
res);
1375 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetBoolArray failed: got 0x%08lx\n",
res);
1379 ok(
out[0] == farray[0] &&
out[4] == farray[1] &&
out[8] == farray[2] &&
out[12] == farray[3],
1380 "The variable farray was not set correctly, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1381 out[0],
out[4],
out[8],
out[12], farray[0], farray[1], farray[2], farray[3]);
1384 ok(
out[0] == fvecarray[0].
x &&
out[1] == fvecarray[0].
y &&
out[2] == fvecarray[0].
z &&
out[3] == fvecarray[0].
w &&
1385 out[4] == fvecarray[1].
x &&
out[5] == fvecarray[1].
y &&
out[6] == fvecarray[1].
z &&
out[7] == fvecarray[1].
w,
1386 "The variable fvecarray was not set correctly, out={{%f, %f, %f, %f}, {%f, %f, %f, %f}}, should be "
1387 "{{%f, %f, %f, %f}, {%f, %f, %f, %f}}\n",
out[0],
out[1],
out[2],
out[3],
out[4],
out[5],
out[6],
out[7],
1388 fvecarray[0].
x, fvecarray[0].
y, fvecarray[0].
z, fvecarray[0].
w, fvecarray[1].
x, fvecarray[1].
y,
1389 fvecarray[1].
z, fvecarray[1].
w);
1392 ok(
out[0] == 0.0f &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f
1393 &&
out[4] == 1.0f &&
out[5] == 0.0f &&
out[6] == 0.0f &&
out[7] == 0.0f,
1394 "The variable barray was not set correctly, out={%f, %f %f, %f; %f, %f, %f, %f}, should be {%f, %f, %f, %f; %f, %f, %f, %f}\n",
1396 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f);
1400 ok(
out[0] == fmtxarray[0].
_11 &&
out[1] == fmtxarray[0]._12 &&
out[2] == fmtxarray[0]._13 &&
out[3] == fmtxarray[0]._14,
1401 "The variable fmtxarray was not set row-major, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1402 out[0],
out[1],
out[2],
out[3], fmtxarray[0].
_11, fmtxarray[0]._12, fmtxarray[0]._13, fmtxarray[0]._14);
1403 ok(
out[16] == fmtxarray[1].
_11 &&
out[17] == fmtxarray[1]._12 &&
out[18] == fmtxarray[1]._13 &&
out[19] == fmtxarray[1]._14,
1404 "The variable fmtxarray was not set row-major, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1405 out[16],
out[17],
out[18],
out[19], fmtxarray[1].
_11, fmtxarray[1]._12, fmtxarray[1]._13, fmtxarray[1]._14);
1408 ok(refcnt == 0,
"The constant table reference count was %lu, should be 0\n", refcnt);
1414 0.51f, 0.62f, 0.80f, 0.78f,
1415 0.23f, 0.95f, 0.37f, 0.48f,
1416 0.10f, 0.58f, 0.90f, 0.25f,
1417 0.89f, 0.41f, 0.93f, 0.27f}}};
1423 ID3DXConstantTable *
ctable;
1426 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %08lx\n",
res);
1429 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetVector failed: got %08lx\n",
res);
1432 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetMatrix failed: got %08lx\n",
res);
1435 ok(
res ==
D3D_OK,
"ID3dXConstantTable_SetDefaults failed: got %08lx\n",
res);
1440 "The first row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1443 "The second row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1446 "The third row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1449 "The fourth row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1454 "The variable f4 was not set correctly, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1460 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %08lx\n",
res);
1463 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetDefaults failed: got %08lx\n",
res);
1467 "The variable mat4 was not set correctly to default value\n");
1471 "The variable mat3 was not set correctly to default value\n");
1475 "The variable array was not set correctly to default value\n");
1479 "The variable vec4 was not set correctly to default value\n");
1483 "The variable flt was not set correctly to default value\n");
1491 0.51f, 0.62f, 0.80f, 0.78f,
1492 0.23f, 0.95f, 0.37f, 0.48f,
1493 0.10f, 0.58f, 0.90f, 0.25f,
1494 0.89f, 0.41f, 0.93f, 0.27f}}};
1496 static const FLOAT arr[] = {0.33f, 0.55f, 0.96f, 1.00f,
1497 1.00f, 1.00f, 1.00f, 1.00f,
1498 1.00f, 1.00f, 1.00f, 1.00f};
1499 static int imatrix[] = {1, 2, 3, 4, 5, 6};
1500 static float fmatrix[] = {1.1f, 2.2f, 3.3f, 4.4f};
1502 static float fvecarray[] = {9.1f, 9.2f, 9.3f, 9.4f, 9.5f, 9.6f, 9.7f, 9.8f};
1503 static float farray[] = {2.2f, 3.3f};
1505 static const float def[16] = {5.5f, 5.5f, 5.5f, 5.5f,
1506 5.5f, 5.5f, 5.5f, 5.5f,
1507 5.5f, 5.5f, 5.5f, 5.5f,
1508 5.5f, 5.5f, 5.5f, 5.5f};
1512 ID3DXConstantTable *
ctable;
1515 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %08lx\n",
res);
1521 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1525 "The variable f4 was not set correctly, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1526 out[0],
out[1],
out[2],
out[3], def[0], def[1], def[2], def[3]);
1529 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1533 "The variable f4 was not set correctly, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1540 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue returned %08lx\n",
res);
1544 "The variable mvp was not set correctly, out={%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1545 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1550 def[0], def[4], def[ 8], def[12],
1551 def[1], def[5], def[ 9], def[13],
1552 def[2], def[6], def[10], def[14],
1553 def[3], def[7], def[11], def[15]);
1556 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1560 "The first row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1563 "The second row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1566 "The third row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1569 "The fourth row of mvp was not set correctly, got {%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1575 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %08lx\n",
res);
1578 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1581 ok(
out[0] == arr[0] &&
out[4] == arr[1] &&
out[8] == arr[2]
1582 &&
out[1] == 0 &&
out[2] == 0 &&
out[3] == 0 &&
out[5] == 0 &&
out[6] == 0 &&
out[7] == 0
1583 &&
out[9] == 0 &&
out[10] == 0 &&
out[11] == 0,
1584 "The variable arr was not set correctly, out={%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f}, "
1585 "should be {0.33, 0, 0, 0, 0.55, 0, 0, 0, 0.96, 0, 0, 0}\n",
1586 out[0],
out[1],
out[2],
out[3],
out[4],
out[5],
out[6],
out[7],
out[8],
out[9],
out[10],
out[11]);
1591 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %08lx\n",
res);
1594 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1597 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1600 ok(
out[0] == imatrix[0] &&
out[1] == imatrix[1] &&
out[2] == imatrix[2] &&
out[3] == 0.0f
1601 &&
out[4] == imatrix[3] &&
out[5] == imatrix[4] &&
out[6] == imatrix[5] &&
out[7] == 0.0f,
1602 "The variable imatrix2x3 was not set correctly, out={%f, %f, %f, %f, %f, %f, %f, %f}, "
1603 "should be {%d, %d, %d, 0, %d, %d, %d, 0}\n",
1605 imatrix[0], imatrix[1], imatrix[2], imatrix[3], imatrix[4], imatrix[5]);
1608 ok(
out[0] == fmatrix[0] &&
out[1] == fmatrix[1] &&
out[2] == fmatrix[2] &&
out[3] == 0.0f,
1609 "The variable fmatrix3x1 was not set correctly, out={%f, %f, %f, %f}, should be {%f, %f, %f, %f}\n",
1611 fmatrix[0], fmatrix[1], fmatrix[2], 0.0f);
1616 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed: got %08lx\n",
res);
1619 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1622 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1626 ok(
res ==
D3D_OK,
"ID3DXConstantTable_SetValue failed: got %08lx\n",
res);
1630 ok(
out[0] == farray[0] &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f
1631 &&
out[4] == farray[1] &&
out[5] == 0.0f &&
out[6] == 0.0f &&
out[7] == 0.0f
1632 &&
out[8] == def[8] &&
out[9] == def[9] &&
out[10] == def[10] &&
out[11] == def[11]
1633 &&
out[12] == def[12] &&
out[13] == def[13] &&
out[14] == def[14] &&
out[15] == def[15],
1634 "The variable farray was not set correctly, should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}, "
1635 "should be {%f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f; %f, %f, %f, %f}\n",
1638 farray[0], 0.0f, 0.0f, 0.0f,
1639 farray[1], 0.0f, 0.0f, 0.0f,
1640 def[8], def[9], def[10], def[11],
1641 def[12], def[13], def[14], def[15]);
1644 ok(
out[0] == fvecarray[0] &&
out[1] == fvecarray[1] &&
out[2] == fvecarray[2] &&
out[3] == fvecarray[3]
1645 &&
out[4] == fvecarray[4] &&
out[5] == fvecarray[5] &&
out[6] == fvecarray[6] &&
out[7] == fvecarray[7],
1646 "The variable fvecarray was not set correctly, out ={%f, %f, %f, %f, %f, %f, %f, %f}, "
1647 "should be {%f, %f, %f, %f, %f, %f, %f, %f}\n",
1649 fvecarray[0], fvecarray[1], fvecarray[2], fvecarray[3], fvecarray[4], fvecarray[5], fvecarray[6], fvecarray[7]);
1652 ok(
out[0] == 1.0f &&
out[1] == 0.0f &&
out[2] == 0.0f &&
out[3] == 0.0f
1653 &&
out[4] == 0.0f &&
out[5] == 0.0f &&
out[6] == 0.0f &&
out[7] == 0.0f,
1654 "The variable barray was not set correctly, out={%f, %f, %f, %f, %f, %f, %f, %f}, "
1655 "should be {%f, %f, %f, %f, %f, %f, %f, %f}\n",
1657 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
1674 skip(
"Couldn't create application window\n");
1679 skip(
"Couldn't create IDirect3D9 object\n");
1690 skip(
"Failed to create IDirect3DDevice9 object %#lx\n",
hr);
1704 ok(refcnt == 0,
"The Direct3D device reference count was %lu, should be 0\n", refcnt);
1707 ok(refcnt == 0,
"The Direct3D object reference count was %lu, should be 0\n", refcnt);
1714 ID3DXConstantTable *
ctable;
1722 ok(
res ==
D3D_OK,
"D3DXGetShaderConstantTable failed on ctab_samplers: got %08lx\n",
res);
1725 ok(
index == 0,
"ID3DXConstantTable_GetSamplerIndex returned wrong index: Got %d, expected 0\n",
index);
1728 ok(
index == 3,
"ID3DXConstantTable_GetSamplerIndex returned wrong index: Got %d, expected 3\n",
index);
1731 ok(
index == -1,
"ID3DXConstantTable_GetSamplerIndex found nonexistent sampler: Got %d\n",
1735 ok(
index == -1,
"ID3DXConstantTable_GetSamplerIndex succeeded on non-sampler constant: Got %d\n",
1739 ok(refcnt == 0,
"The ID3DXConstantTable reference count was %lu, should be 0\n", refcnt);
1752float4
main(float3 tex : TEXCOORD0) :
COLOR
1755 tmp = tmp + tex1D(s1D, tex.x);
1756 tmp = tmp + tex1D(s1D, tex.y);
1757 tmp = tmp + tex3D(s3D, tex.xyz);
1758 tmp = tmp + tex1D(
s, tex.x);
1759 tmp = tmp + tex2D(s2D, tex.xy);
1760 tmp = tmp + texCUBE(scube, tex.xyz);
1768 0x0000001c, 0x0000011b, 0xffff0300, 0x00000006, 0x0000001c, 0x00000100,
1770 0x00000094, 0x00000002, 0x00000001, 0x0000009c, 0x00000000,
1771 0x000000ac, 0x00040003, 0x00000001, 0x000000b0, 0x00000000,
1772 0x000000c0, 0x00000003, 0x00000001, 0x000000c4, 0x00000000,
1773 0x000000d4, 0x00010003, 0x00000001, 0x000000d8, 0x00000000,
1774 0x000000e8, 0x00030003, 0x00000001, 0x000000ec, 0x00000000,
1775 0x000000fc, 0x00020003, 0x00000001, 0x00000104, 0x00000000,
1776 0x74696e69, 0xababab00,
1777 0x00030001, 0x00040001, 0x00000001, 0x00000000,
1779 0x000c0004, 0x00010001, 0x00000001, 0x00000000,
1781 0x000b0004, 0x00010001, 0x00000001, 0x00000000,
1783 0x000c0004, 0x00010001, 0x00000001, 0x00000000,
1785 0x000d0004, 0x00010001, 0x00000001, 0x00000000,
1786 0x62756373, 0xabab0065,
1787 0x000e0004, 0x00010001, 0x00000001, 0x00000000,
1788 0x335f7370, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820,
1789 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932,
1790 0x332e3235, 0x00313131,
1791 0x0200001f, 0x80000005, 0x90070000, 0x0200001f, 0x90000000, 0xa00f0800,
1792 0x0200001f, 0x90000000, 0xa00f0801, 0x0200001f, 0x98000000, 0xa00f0802,
1793 0x0200001f, 0xa0000000, 0xa00f0803, 0x0200001f, 0x90000000, 0xa00f0804,
1794 0x03000042, 0x800f0000, 0x90e40000, 0xa0e40800, 0x03000002, 0x800f0000,
1795 0x80e40000, 0xa0e40000, 0x03000042, 0x800f0001, 0x90550000, 0xa0e40800,
1796 0x03000002, 0x800f0000, 0x80e40000, 0x80e40001, 0x03000042, 0x800f0001,
1797 0x90e40000, 0xa0e40803, 0x03000002, 0x800f0000, 0x80e40000, 0x80e40001,
1798 0x03000042, 0x800f0001, 0x90e40000, 0xa0e40804, 0x03000002, 0x800f0000,
1799 0x80e40000, 0x80e40001, 0x03000042, 0x800f0001, 0x90e40000, 0xa0e40801,
1800 0x03000002, 0x800f0000, 0x80e40000, 0x80e40001, 0x03000042, 0x800f0001,
1801 0x90e40000, 0xa0e40802, 0x03000002, 0x800f0800, 0x80e40000, 0x80e40001,
1808 const char *sampler_orig;
1816 ok(
hr ==
D3D_OK,
"D3DXGetShaderSamplers failed, got %lx, expected %lx\n",
hr,
D3D_OK);
1820 ok(
hr ==
D3D_OK,
"D3DXGetShaderSamplers failed, got %lx, expected %lx\n",
hr,
D3D_OK);
1825 ok(
hr ==
D3D_OK,
"D3DXGetShaderSamplers failed, got %lx, expected %lx\n",
hr,
D3D_OK);
1829 ok(sampler_orig ==
samplers[0],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[0], sampler_orig);
1832 ok(sampler_orig ==
samplers[1],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[1], sampler_orig);
1835 ok(sampler_orig ==
samplers[2],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[2], sampler_orig);
1838 ok(sampler_orig ==
samplers[3],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[3], sampler_orig);
1841 ok(sampler_orig ==
samplers[4],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[4], sampler_orig);
1843 ok(!
strcmp(
samplers[5],
"dummy"),
"D3DXGetShaderSamplers failed, got \"%s\", expected \"%s\"\n",
samplers[5],
"dummy");
1850 ok(
hr ==
D3D_OK,
"D3DXGetShaderSamplers failed, got %lx, expected %lx\n",
hr,
D3D_OK);
1851 ok(
count == 5,
"D3DXGetShaderSamplers failed, got %u, expected %u\n",
count, 5);
1854 ok(
hr ==
D3D_OK,
"D3DXGetShaderSamplers failed, got %lx, expected %lx\n",
hr,
D3D_OK);
1855 ok(
count == 5,
"D3DXGetShaderSamplers failed, got %u, expected %u\n",
count, 5);
1859 ok(sampler_orig ==
samplers[0],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[0], sampler_orig);
1862 ok(sampler_orig ==
samplers[1],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[1], sampler_orig);
1865 ok(sampler_orig ==
samplers[2],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[2], sampler_orig);
1868 ok(sampler_orig ==
samplers[3],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[3], sampler_orig);
1871 ok(sampler_orig ==
samplers[4],
"D3DXGetShaderSamplers failed, got %p, expected %p\n",
samplers[4], sampler_orig);
1873 ok(!
strcmp(
samplers[5],
"dummy"),
"D3DXGetShaderSamplers failed, got \"%s\", expected \"%s\"\n",
samplers[5],
"dummy");
1877 ok(
hr ==
D3D_OK,
"D3DXGetShaderSamplers failed, got %lx, expected %lx\n",
hr,
D3D_OK);
1878 ok(
count == 0,
"D3DXGetShaderSamplers failed, got %u, expected %u\n",
count, 0);
1882 ok(
hr ==
D3D_OK,
"D3DXGetShaderSamplers failed, got %lx, expected %lx\n",
hr,
D3D_OK);
1883 ok(
count == 0,
"D3DXGetShaderSamplers failed, got %u, expected %u\n",
count, 0);
1890float f = {1.1f}, f_2[2] = {2.1f, 2.2f};
1891struct {
float f;
int i;}
s = {3.1f, 31},
1892s_2[2] = {{4.1f, 41}, {4.2f, 42}},
1893s_3[3] = {{5.1f, 51}, {5.2f, 52}, {5.3f, 53}};
1894struct {
int i1;
int i2; float2 f_2; row_major float3x1
r[2];}
1895p[2] = {{11, 12, {13.1, 14.1}, {{3.11, 3.21, 3.31}, {3.41, 3.51, 3.61}}},
1896 {15, 16, {17.1, 18.1}, {{4.11, 4.21, 4.31}, {4.41, 4.51, 4.61}}}};
1898float2x3 f23[2] = {{0.11, 0.21, 0.31, 0.41, 0.51, 0.61}, {0.12, 0.22, 0.32, 0.42, 0.52, 0.62}};
1899float3x2 f32[2] = {{1.11, 1.21, 1.31, 1.41, 1.51, 1.61}, {1.12, 1.22, 1.32, 1.42, 1.52, 1.62}};
1900float3
v[2] = {{2.11, 2.21, 2.31}, {2.41, 2.51, 2.61}};
1901row_major float3x1 r31[2] = {{3.11, 3.21, 3.31}, {3.41, 3.51, 3.61}};
1902row_major float1x3 r13[2] = {{4.11, 4.21, 4.31}, {4.41, 4.51, 4.61}};
1906 tmp.zyw =
v[1] + r13[1] + r31[1] +
p[1].r[1];
1907 tmp.x +=
f * f_2[1] *
pos.x *
p[1].f_2.y;
1908 tmp.y +=
s.f *
pos.y * s_2[0].i;
1909 tmp.z += s_3[0].f *
pos.z * s_3[2].f *
i[0] * f23[1]._11 * f32[1]._32;
19150xfffe0300, 0x0185fffe, 0x42415443, 0x0000001c, 0x000005df, 0xfffe0300, 0x0000000c, 0x0000001c,
19160x00000100, 0x000005d8, 0x0000010c, 0x002d0002, 0x00000001, 0x00000110, 0x00000120, 0x00000130,
19170x001d0002, 0x00000004, 0x00000134, 0x00000144, 0x000001a4, 0x00210002, 0x00000004, 0x000001a8,
19180x000001b8, 0x000001f8, 0x00250002, 0x00000002, 0x000001fc, 0x0000020c, 0x0000022c, 0x002f0002,
19190x00000001, 0x00000230, 0x00000240, 0x00000250, 0x00000002, 0x00000012, 0x000002b0, 0x000002c0,
19200x000003e0, 0x002b0002, 0x00000002, 0x000003e4, 0x000003f4, 0x00000414, 0x00120002, 0x00000006,
19210x00000418, 0x00000428, 0x00000488, 0x002e0002, 0x00000001, 0x000004ac, 0x000004bc, 0x000004dc,
19220x00270002, 0x00000002, 0x000004e0, 0x000004f0, 0x00000530, 0x00180002, 0x00000005, 0x00000534,
19230x00000544, 0x000005a4, 0x00290002, 0x00000002, 0x000005a8, 0x000005b8, 0xabab0066, 0x00030000,
19240x00010001, 0x00000001, 0x00000000, 0x3f8ccccd, 0x00000000, 0x00000000, 0x00000000, 0x00333266,
19250x00030003, 0x00030002, 0x00000002, 0x00000000, 0x3de147ae, 0x3ed1eb85, 0x00000000, 0x00000000,
19260x3e570a3d, 0x3f028f5c, 0x00000000, 0x00000000, 0x3e9eb852, 0x3f1c28f6, 0x00000000, 0x00000000,
19270x3df5c28f, 0x3ed70a3d, 0x00000000, 0x00000000, 0x3e6147ae, 0x3f051eb8, 0x00000000, 0x00000000,
19280x3ea3d70a, 0x3f1eb852, 0x00000000, 0x00000000, 0x00323366, 0x00030003, 0x00020003, 0x00000002,
19290x00000000, 0x3f8e147b, 0x3fa7ae14, 0x3fc147ae, 0x00000000, 0x3f9ae148, 0x3fb47ae1, 0x3fce147b,
19300x00000000, 0x3f8f5c29, 0x3fa8f5c3, 0x3fc28f5c, 0x00000000, 0x3f9c28f6, 0x3fb5c28f, 0x3fcf5c29,
19310x00000000, 0x00325f66, 0x00030000, 0x00010001, 0x00000002, 0x00000000, 0x40066666, 0x00000000,
19320x00000000, 0x00000000, 0x400ccccd, 0x00000000, 0x00000000, 0x00000000, 0xabab0069, 0x00020000,
19330x00010001, 0x00000001, 0x00000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x31690070,
19340xababab00, 0x00020000, 0x00010001, 0x00000001, 0x00000000, 0xab003269, 0x00030001, 0x00020001,
19350x00000001, 0x00000000, 0xabab0072, 0x00030002, 0x00010003, 0x00000002, 0x00000000, 0x00000252,
19360x00000258, 0x00000268, 0x00000258, 0x000001f8, 0x0000026c, 0x0000027c, 0x00000280, 0x00000005,
19370x000a0001, 0x00040002, 0x00000290, 0x41300000, 0x00000000, 0x00000000, 0x00000000, 0x41400000,
19380x00000000, 0x00000000, 0x00000000, 0x4151999a, 0x4161999a, 0x00000000, 0x00000000, 0x40470a3d,
19390x00000000, 0x00000000, 0x00000000, 0x404d70a4, 0x00000000, 0x00000000, 0x00000000, 0x4053d70a,
19400x00000000, 0x00000000, 0x00000000, 0x405a3d71, 0x00000000, 0x00000000, 0x00000000, 0x4060a3d7,
19410x00000000, 0x00000000, 0x00000000, 0x40670a3d, 0x00000000, 0x00000000, 0x00000000, 0x41700000,
19420x00000000, 0x00000000, 0x00000000, 0x41800000, 0x00000000, 0x00000000, 0x00000000, 0x4188cccd,
19430x4190cccd, 0x00000000, 0x00000000, 0x4083851f, 0x00000000, 0x00000000, 0x00000000, 0x4086b852,
19440x00000000, 0x00000000, 0x00000000, 0x4089eb85, 0x00000000, 0x00000000, 0x00000000, 0x408d1eb8,
19450x00000000, 0x00000000, 0x00000000, 0x409051ec, 0x00000000, 0x00000000, 0x00000000, 0x4093851f,
19460x00000000, 0x00000000, 0x00000000, 0x00333172, 0x00030002, 0x00030001, 0x00000002, 0x00000000,
19470x4083851f, 0x4086b852, 0x4089eb85, 0x00000000, 0x408d1eb8, 0x409051ec, 0x4093851f, 0x00000000,
19480x00313372, 0x00030002, 0x00010003, 0x00000002, 0x00000000, 0x40470a3d, 0x00000000, 0x00000000,
19490x00000000, 0x404d70a4, 0x00000000, 0x00000000, 0x00000000, 0x4053d70a, 0x00000000, 0x00000000,
19500x00000000, 0x405a3d71, 0x00000000, 0x00000000, 0x00000000, 0x4060a3d7, 0x00000000, 0x00000000,
19510x00000000, 0x40670a3d, 0x00000000, 0x00000000, 0x00000000, 0xabab0073, 0x00030000, 0x00010001,
19520x00000001, 0x00000000, 0x0000010c, 0x0000048c, 0x0000022c, 0x00000258, 0x00000005, 0x00020001,
19530x00020001, 0x0000049c, 0x40466666, 0x00000000, 0x00000000, 0x00000000, 0x41f80000, 0x00000000,
19540x00000000, 0x00000000, 0x00325f73, 0x00000005, 0x00020001, 0x00020002, 0x0000049c, 0x40833333,
19550x00000000, 0x00000000, 0x00000000, 0x42240000, 0x00000000, 0x00000000, 0x00000000, 0x40866666,
19560x00000000, 0x00000000, 0x00000000, 0x42280000, 0x00000000, 0x00000000, 0x00000000, 0x00335f73,
19570x00000005, 0x00020001, 0x00020003, 0x0000049c, 0x40a33333, 0x00000000, 0x00000000, 0x00000000,
19580x424c0000, 0x00000000, 0x00000000, 0x00000000, 0x40a66666, 0x00000000, 0x00000000, 0x00000000,
19590x42500000, 0x00000000, 0x00000000, 0x00000000, 0x40a9999a, 0x00000000, 0x00000000, 0x00000000,
19600x42540000, 0x00000000, 0x00000000, 0x00000000, 0xabab0076, 0x00030001, 0x00030001, 0x00000002,
19610x00000000, 0x40070a3d, 0x400d70a4, 0x4013d70a, 0x00000000, 0x401a3d71, 0x4020a3d7, 0x40270a3d,
19620x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c,
19630x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131, 0x0200001f,
19640x80000000, 0x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x02000001, 0x80070000, 0xa0e4002a,
19650x03000002, 0x80070000, 0x80e40000, 0xa0e4002c, 0x03000002, 0x80040000, 0x80aa0000, 0xa0000017,
19660x03000002, 0xe0080000, 0x80aa0000, 0xa0000011, 0x02000001, 0x80010001, 0xa000002d, 0x03000005,
19670x80040000, 0x80000001, 0xa0000026, 0x03000005, 0x80040000, 0x80aa0000, 0x90000000, 0x03000005,
19680xe0010000, 0x80aa0000, 0xa055000b, 0x03000002, 0x80020000, 0x80550000, 0xa0000016, 0x03000002,
19690x80010000, 0x80000000, 0xa0000015, 0x03000002, 0x80010000, 0x80000000, 0xa000000f, 0x03000002,
19700x80020000, 0x80550000, 0xa0000010, 0x03000005, 0x80040000, 0xa000002e, 0x90550000, 0x04000004,
19710xe0020000, 0x80aa0000, 0xa0000028, 0x80550000, 0x03000005, 0x80020000, 0xa0000018, 0x90aa0000,
19720x03000005, 0x80020000, 0x80550000, 0xa000001c, 0x03000005, 0x80020000, 0x80550000, 0xa000002f,
19730x03000005, 0x80020000, 0x80550000, 0xa0000020, 0x04000004, 0xe0040000, 0x80550000, 0xa0aa0024,
19740x80000000, 0x0000ffff,
1985 {
"f", {
"f",
D3DXRS_FLOAT4, 45, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 72},
1986 {
"f23", {
"f23",
D3DXRS_FLOAT4, 29, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 2, 3, 2, 0, 48,
NULL}, 81},
1987 {
"f23[0]", {
"f23",
D3DXRS_FLOAT4, 29, 3,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 2, 3, 1, 0, 24,
NULL}, 81},
1988 {
"f23[1]", {
"f23",
D3DXRS_FLOAT4, 32, 1,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 2, 3, 1, 0, 24,
NULL}, 93},
1989 {
"f32", {
"f32",
D3DXRS_FLOAT4, 33, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 2, 0, 48,
NULL}, 110},
1990 {
"f32[0]", {
"f32",
D3DXRS_FLOAT4, 33, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 110},
1991 {
"f32[1]", {
"f32",
D3DXRS_FLOAT4, 35, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 118},
1992 {
"f_2", {
"f_2",
D3DXRS_FLOAT4, 37, 2,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 2, 0, 8,
NULL}, 131},
1993 {
"f_2[0]", {
"f_2",
D3DXRS_FLOAT4, 37, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 131},
1994 {
"f_2[1]", {
"f_2",
D3DXRS_FLOAT4, 38, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 135},
1995 {
"i", {
"i",
D3DXRS_FLOAT4, 47, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 144},
1996 {
"i[0]", {
"i",
D3DXRS_FLOAT4, 47, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 144},
1997 {
"p", {
"p",
D3DXRS_FLOAT4, 0, 18,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 10, 2, 4, 80,
NULL}, 176},
1998 {
"p[0]", {
"p",
D3DXRS_FLOAT4, 0, 9,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 10, 1, 4, 40,
NULL}, 176},
1999 {
"p[0].i1", {
"i1",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 176},
2000 {
"p[0].i2", {
"i2",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 180},
2001 {
"p[0].f_2", {
"f_2",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 2, 1, 0, 8,
NULL}, 184},
2002 {
"p[0].r", {
"r",
D3DXRS_FLOAT4, 3, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 2, 0, 24,
NULL}, 188},
2003 {
"p[0].r[0]", {
"r",
D3DXRS_FLOAT4, 3, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 1, 0, 12,
NULL}, 188},
2004 {
"p[0].r[1]", {
"r",
D3DXRS_FLOAT4, 6, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 1, 0, 12,
NULL}, 200},
2005 {
"p[1]", {
"p",
D3DXRS_FLOAT4, 9, 9,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 10, 1, 4, 40,
NULL}, 212},
2006 {
"p[1].i1", {
"i1",
D3DXRS_FLOAT4, 9, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 212},
2007 {
"p[1].i2", {
"i2",
D3DXRS_FLOAT4, 10, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 216},
2008 {
"p[1].f_2", {
"f_2",
D3DXRS_FLOAT4, 11, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 2, 1, 0, 8,
NULL}, 220},
2009 {
"p[1].r", {
"r",
D3DXRS_FLOAT4, 12, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 2, 0, 24,
NULL}, 224},
2010 {
"p[1].r[0]", {
"r",
D3DXRS_FLOAT4, 12, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 1, 0, 12,
NULL}, 224},
2011 {
"p[1].r[1]", {
"r",
D3DXRS_FLOAT4, 15, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 1, 0, 12,
NULL}, 236},
2012 {
"r13", {
"r13",
D3DXRS_FLOAT4, 43, 2,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 1, 3, 2, 0, 24,
NULL}, 253},
2013 {
"r13[0]", {
"r13",
D3DXRS_FLOAT4, 43, 1,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 253},
2014 {
"r13[1]", {
"r13",
D3DXRS_FLOAT4, 44, 1,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 257},
2015 {
"r31", {
"r31",
D3DXRS_FLOAT4, 18, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 2, 0, 24,
NULL}, 266},
2016 {
"r31[0]", {
"r31",
D3DXRS_FLOAT4, 18, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 1, 0, 12,
NULL}, 266},
2017 {
"r31[1]", {
"r31",
D3DXRS_FLOAT4, 21, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 1, 1, 0, 12,
NULL}, 278},
2018 {
"s", {
"s",
D3DXRS_FLOAT4, 46, 1,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 1, 2, 8,
NULL}, 303},
2019 {
"s.f", {
"f",
D3DXRS_FLOAT4, 46, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 303},
2020 {
"s.i", {
"i",
D3DXRS_FLOAT4, 47, 0,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 307},
2021 {
"s_2", {
"s_2",
D3DXRS_FLOAT4, 39, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 2, 2, 16,
NULL}, 316},
2022 {
"s_2[0]", {
"s_2",
D3DXRS_FLOAT4, 39, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 1, 2, 8,
NULL}, 316},
2023 {
"s_2[0].f", {
"f",
D3DXRS_FLOAT4, 39, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 316},
2024 {
"s_2[0].i", {
"i",
D3DXRS_FLOAT4, 40, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 320},
2025 {
"s_2[1]", {
"s_2",
D3DXRS_FLOAT4, 41, 0,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 1, 2, 8,
NULL}, 324},
2026 {
"s_2[1].f", {
"f",
D3DXRS_FLOAT4, 41, 0,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 324},
2027 {
"s_2[1].i", {
"i",
D3DXRS_FLOAT4, 41, 0,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 328},
2028 {
"s_3", {
"s_3",
D3DXRS_FLOAT4, 24, 5,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 3, 2, 24,
NULL}, 337},
2029 {
"s_3[0]", {
"s_3",
D3DXRS_FLOAT4, 24, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 1, 2, 8,
NULL}, 337},
2030 {
"s_3[0].f", {
"f",
D3DXRS_FLOAT4, 24, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 337},
2031 {
"s_3[0].i", {
"i",
D3DXRS_FLOAT4, 25, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 341},
2032 {
"s_3[1]", {
"s_3",
D3DXRS_FLOAT4, 26, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 1, 2, 8,
NULL}, 345},
2033 {
"s_3[1].f", {
"f",
D3DXRS_FLOAT4, 26, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 345},
2034 {
"s_3[1].i", {
"i",
D3DXRS_FLOAT4, 27, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 349},
2035 {
"s_3[2]", {
"s_3",
D3DXRS_FLOAT4, 28, 1,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 2, 1, 2, 8,
NULL}, 353},
2036 {
"s_3[2].f", {
"f",
D3DXRS_FLOAT4, 28, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 353},
2037 {
"s_3[2].i", {
"i",
D3DXRS_FLOAT4, 29, 0,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 357},
2038 {
"v", {
"v",
D3DXRS_FLOAT4, 41, 2,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 2, 0, 24,
NULL}, 366},
2039 {
"v[0]", {
"v",
D3DXRS_FLOAT4, 41, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 366},
2040 {
"v[1]", {
"v",
D3DXRS_FLOAT4, 42, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 370},
2045 ID3DXConstantTable *
ctable;
2055 ok(
hr ==
D3D_OK,
"D3DXGetShaderConstantTable failed, got %08lx, expected %08lx\n",
hr,
D3D_OK);
2072 ok(!
strcmp(expected_desc->
Name,
desc.
Name),
"GetConstantDesc \"%s\" failed, got \"%s\", expected \"%s\"\n",
2074 ok(expected_desc->
RegisterSet ==
desc.RegisterSet,
"GetConstantDesc \"%s\" failed, got %#x, expected %#x\n",
2076 ok(expected_desc->
RegisterIndex ==
desc.RegisterIndex,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
2078 ok(expected_desc->
RegisterCount ==
desc.RegisterCount,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
2080 ok(expected_desc->
Class ==
desc.Class,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
2082 ok(expected_desc->
Type ==
desc.Type,
"GetConstantDesc \"%s\" failed, got %#x, expected %#x\n",
2084 ok(expected_desc->
Rows ==
desc.Rows,
"GetConstantDesc \"%s\" failed, got %#x, expected %#x\n",
2086 ok(expected_desc->
Columns ==
desc.Columns,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
2088 ok(expected_desc->
Elements ==
desc.Elements,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
2090 ok(expected_desc->
StructMembers ==
desc.StructMembers,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
2092 ok(expected_desc->
Bytes ==
desc.Bytes,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
2174 ok(
count == 0,
"Release failed, got %lu, expected %u\n",
count, 0);
2177#define REGISTER_OUTPUT_SIZE 48
2203 {0x40000123, 0x00000000, 0x40800123, 0x40a00123,
2204 0x40c00123, 0x40e00123, 0x41000123, 0x41100123,
2205 0x41200123, 0x41300123, 0x41400123, 0x41500123,
2206 0x41600123, 0x41700123, 0x41800123, 0x41900123,
2207 0x41a00123, 0x41b00123, 0x41c00123, 0x41d00123,
2208 0x00000000, 0x41f00123, 0x42000123, 0x42100123,
2209 0x00000000, 0x42300123, 0x42400123, 0x42500123,
2210 0x42600123, 0x42700123, 0x42800123, 0x42900123,
2211 0x43000123, 0x43100123, 0x43200123, 0x43300123,
2212 0x43400123, 0x43500123, 0x43600123, 0x43700123,
2213 0x43800123, 0x43900123, 0x43a00123, 0x43b00123,
2214 0x43c00123, 0x43d00123, 0x43e00123, 0x43f00123},
2216 {0x00000002, 0x00000003, 0x00000004, 0x00000005,
2217 0x00000000, 0x00000007, 0x00000008, 0x00000009,
2218 0x0000000a, 0x0000000b, 0x0000000c, 0x0000000d,
2219 0x0000000e, 0x0000000f, 0x00000010, 0x00000011,
2220 0x00000012, 0x00000000, 0x00000000, 0x00000015,
2221 0x00000016, 0x00000017, 0x00000018, 0x00000019,
2222 0x0000001a, 0x0000001b, 0x0000001c, 0x0000001d,
2223 0x0000001e, 0x0000001f, 0x00000020, 0x00000021,
2224 0x00000022, 0x00000023, 0x00000024, 0x00000025,
2225 0x00000026, 0x00000027, 0x00000028, 0x00000029,
2226 0x0000002a, 0x0000002b, 0x0000002c, 0x0000002d,
2227 0x0000002e, 0x0000002f, 0x00000030, 0x00000031},
2243 if (
b)
for (
i = 0;
i <
n;
i++) tmp.x +=
pos.z *
f * nf;
2244 else for (
i = 0;
i <
n;
i++) tmp.y +=
pos.y *
f * bf;
22500xfffe0300, 0x0051fffe, 0x42415443, 0x0000001c, 0x0000010f, 0xfffe0300, 0x00000005, 0x0000001c,
22510x00000100, 0x00000108, 0x00000080, 0x00000000, 0x00000001, 0x00000084, 0x00000094, 0x00000098,
22520x00020002, 0x00000001, 0x00000084, 0x0000009c, 0x000000ac, 0x00000002, 0x00000001, 0x000000b0,
22530x000000c0, 0x000000d0, 0x00000001, 0x00000001, 0x000000d4, 0x000000e4, 0x000000f4, 0x00010002,
22540x00000001, 0x000000d4, 0x000000f8, 0xabab0062, 0x00010000, 0x00010001, 0x00000001, 0x00000000,
22550xffffffff, 0xab006662, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0xabab0066, 0x00030000,
22560x00010001, 0x00000001, 0x00000000, 0x40a33333, 0x00000000, 0x00000000, 0x00000000, 0xabab006e,
22570x00020000, 0x00010001, 0x00000001, 0x00000000, 0x00000008, 0x00000000, 0x00000001, 0x00000000,
22580xab00666e, 0x41300000, 0x00000000, 0x00000000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369,
22590x74666f73, 0x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072,
22600x392e3932, 0x332e3235, 0x00313131, 0x05000051, 0xa00f0003, 0x00000000, 0x00000000, 0x00000000,
22610x00000000, 0x0200001f, 0x80000000, 0x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x01000028,
22620xe0e40800, 0x03000005, 0x80010000, 0xa0000000, 0x90aa0000, 0x02000001, 0x80010001, 0xa0000003,
22630x01000026, 0xf0e40000, 0x04000004, 0x80010001, 0x80000000, 0xa0000001, 0x80000001, 0x00000027,
22640x02000001, 0x80020001, 0xa0000003, 0x0000002a, 0x03000005, 0x80010000, 0xa0000000, 0x90550000,
22650x02000001, 0x80020001, 0xa0000003, 0x01000026, 0xf0e40000, 0x04000004, 0x80020001, 0x80000000,
22660xa0000002, 0x80550001, 0x00000027, 0x02000001, 0x80010001, 0xa0000003, 0x0000002b, 0x02000001,
22670xe0030000, 0x80e40001, 0x02000001, 0xe00c0000, 0xa0000003, 0x0000ffff,
2272 {
"f", {
"f",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 48},
2277 {
SetFloat, 0, 0, 0, 4, {0x40000123}},
2278 {
SetInt, 1, 0, 0, 4, {0x40000000}},
2279 {
SetBool, 1, 0, 0, 4, {0x3f800000}},
2305 {
"n", {
"n",
D3DXRS_INT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 57},
2311 {0x00000002, 0x00000000, 0x00000001}},
2313 {0x00000002, 0x00000000, 0x00000001}},
2315 {0x00000001, 0x00000000, 0x00000001}},
2318 {0x00000002, 0x00000000, 0x00000001}},
2321 {0x00000001, 0x00000000, 0x00000001}},
2324 {0x00000002, 0x00000000, 0x00000001}},
2327 {0x00000002, 0x00000000, 0x00000001}},
2329 {0x00000002, 0x00000000, 0x00000001},},
2332 {0x00000002, 0x00000000, 0x00000001}},
2334 {0x00000002, 0x00000000, 0x00000001}},
2337 {0x00000002, 0x00000000, 0x00000001}},
2339 {0x00000002, 0x00000000, 0x00000001}},
2342 {0x00000002, 0x00000000, 0x00000001}},
2345 {0x00000002, 0x00000000, 0x00000001}},
2348 {0x00000002, 0x00000000, 0x00000001}},
2353 {
"nf", {
"nf",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 62},
2358 {
SetFloat, 0, 0, 0, 4, {0x40000000}},
2359 {
SetInt, 1, 0, 0, 4, {0x40000000}},
2360 {
SetBool, 1, 0, 0, 4, {0x3f800000}},
2386 {
"bf", {
"bf",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 39},
2391 {
SetFloat, 0, 0, 0, 4, {0x3f800000}},
2392 {
SetInt, 1, 0, 0, 4, {0x3f800000}},
2393 {
SetBool, 1, 0, 0, 4, {0x3f800000}},
2419 {
"b", {
"b",
D3DXRS_BOOL, 0, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 37},
2424 {
SetFloat, 0, 0, 0, 1, {0x00000001}},
2425 {
SetInt, 1, 0, 0, 1, {0x00000001}},
2426 {
SetBool, 1, 0, 0, 1, {0x00000002}},
2455int an[2] = {32, 33};
2456float af[2] = {3.1, 3.2};
2457int anf[2] = {14, 15};
2458bool abf[2] = {1, 1};
2463 if (
ab[1])
for (
i = 0;
i < an[1];
i++) tmp.x +=
pos.z * af[0] * anf[1];
2464 else for (
i = 0;
i < an[0];
i++) tmp.y +=
pos.y * af[1] * abf[1];
24700xfffe0300, 0x006afffe, 0x42415443, 0x0000001c, 0x00000173, 0xfffe0300, 0x00000005, 0x0000001c,
24710x00000100, 0x0000016c, 0x00000080, 0x00000000, 0x00000002, 0x00000084, 0x00000094, 0x0000009c,
24720x00040002, 0x00000002, 0x000000a0, 0x000000b0, 0x000000d0, 0x00000002, 0x00000002, 0x000000d4,
24730x000000e4, 0x00000104, 0x00000001, 0x00000002, 0x00000108, 0x00000118, 0x00000138, 0x00020002,
24740x00000002, 0x0000013c, 0x0000014c, 0xab006261, 0x00010000, 0x00010001, 0x00000002, 0x00000000,
24750xffffffff, 0x00000000, 0x00666261, 0x00010000, 0x00010001, 0x00000002, 0x00000000, 0x3f800000,
24760x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0xab006661,
24770x00030000, 0x00010001, 0x00000002, 0x00000000, 0x40466666, 0x00000000, 0x00000000, 0x00000000,
24780x404ccccd, 0x00000000, 0x00000000, 0x00000000, 0xab006e61, 0x00020000, 0x00010001, 0x00000002,
24790x00000000, 0x00000020, 0x00000000, 0x00000001, 0x00000000, 0x00000021, 0x00000000, 0x00000001,
24800x00000000, 0x00666e61, 0x00020000, 0x00010001, 0x00000002, 0x00000000, 0x41600000, 0x00000000,
24810x00000000, 0x00000000, 0x41700000, 0x00000000, 0x00000000, 0x00000000, 0x335f7376, 0x4d00305f,
24820x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970,
24830x2e392072, 0x392e3932, 0x332e3235, 0x00313131, 0x05000051, 0xa00f0006, 0x00000000, 0x00000000,
24840x00000000, 0x00000000, 0x0200001f, 0x80000000, 0x900f0000, 0x0200001f, 0x80000000, 0xe00f0000,
24850x01000028, 0xe0e40801, 0x03000005, 0x80010000, 0xa0000000, 0x90aa0000, 0x02000001, 0x80010001,
24860xa0000006, 0x01000026, 0xf0e40001, 0x04000004, 0x80010001, 0x80000000, 0xa0000003, 0x80000001,
24870x00000027, 0x02000001, 0x80020001, 0xa0000006, 0x0000002a, 0x03000005, 0x80010000, 0xa0000001,
24880x90550000, 0x02000001, 0x80020001, 0xa0000006, 0x01000026, 0xf0e40000, 0x04000004, 0x80020001,
24890x80000000, 0xa0000005, 0x80550001, 0x00000027, 0x02000001, 0x80010001, 0xa0000006, 0x0000002b,
24900x02000001, 0xe0030000, 0x80e40001, 0x02000001, 0xe00c0000, 0xa0000006, 0x0000ffff,
2495 {
"af", {
"af",
D3DXRS_FLOAT4, 0, 2,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 2, 0, 8,
NULL}, 57},
2496 {
"af[0]", {
"af",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 57},
2497 {
"af[1]", {
"af",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 61},
2502 {
SetFloat, 0, 0, 0, 4, {0x40000123}},
2503 {
SetInt, 1, 0, 0, 4, {0x40000000}},
2504 {
SetBool, 1, 0, 0, 4, {0x3f800000}},
2508 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000}},
2512 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2516 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2518 {
SetValue, 0, 4, 7, 4, {0x40000123}},
2520 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2522 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2525 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2527 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2530 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2532 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123}},
2535 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123}},
2538 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2541 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123}},
2546 {
"an", {
"an",
D3DXRS_INT4, 0, 2,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 2, 0, 8,
NULL}, 70},
2547 {
"an[0]", {
"an",
D3DXRS_INT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 70},
2548 {
"an[1]", {
"an",
D3DXRS_INT4, 1, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 74},
2553 {
SetFloat, 0, 0, 0, 4, {0x00000002, 0x00000000, 0x00000001}},
2554 {
SetInt, 1, 0, 0, 4, {0x00000002, 0x00000000, 0x00000001}},
2555 {
SetBool, 1, 0, 0, 4, {0x00000001, 0x00000000, 0x00000001}},
2557 {
SetIntArray, 1, 1, 1, 4, {0x00000002, 0x00000000, 0x00000001}},
2559 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000000, 0x00000001}},
2561 {
SetBoolArray, 1, 1, 1, 4, {0x00000001, 0x00000000, 0x00000001}},
2563 {0x00000001, 0x00000000, 0x00000001, 0x00000000, 0x00000001, 0x00000000, 0x00000001}},
2565 {
SetFloatArray, 0, 1, 1, 4, {0x00000002, 0x00000000, 0x00000001}},
2567 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
2569 {
SetValue, 1, 4, 7, 4, {0x00000002, 0x00000000, 0x00000001}},
2571 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000000, 0x00000001}},
2573 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
2576 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
2578 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
2581 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
2583 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000000, 0x00000001}},
2586 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000000, 0x00000001}},
2589 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
2592 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000000, 0x00000001}},
2597 {
"ab", {
"ab",
D3DXRS_BOOL, 0, 2,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 2, 0, 8,
NULL}, 37},
2598 {
"ab[0]", {
"ab",
D3DXRS_BOOL, 0, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 37},
2599 {
"ab[1]", {
"ab",
D3DXRS_BOOL, 1, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 38},
2604 {
SetFloat, 0, 0, 0, 1, {0x00000001}},
2605 {
SetInt, 1, 0, 0, 1, {0x00000001}},
2606 {
SetBool, 1, 0, 0, 1, {0x00000002}},
2617 {
SetValue, 1, 4, 7, 1, {0x00000002}},
2619 {
SetVector, 0, 0, 0, 2, {0x00000001, 0x00000000}},
2622 {
SetMatrix, 0, 0, 0, 2, {0x00000001, 0x00000000}},
2636 {
"abf", {
"abf",
D3DXRS_FLOAT4, 4, 2,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 2, 0, 8,
NULL}, 44},
2637 {
"abf[0]", {
"abf",
D3DXRS_FLOAT4, 4, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 44},
2638 {
"abf[1]", {
"abf",
D3DXRS_FLOAT4, 5, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 48},
2643 {
SetFloat, 0, 0, 0, 4, {0x3f800000}},
2644 {
SetInt, 1, 0, 0, 4, {0x3f800000}},
2645 {
SetBool, 1, 0, 0, 4, {0x3f800000}},
2649 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2653 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2657 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2659 {
SetValue, 1, 4, 7, 4, {0x3f800000}},
2661 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2663 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2666 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2668 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2671 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2673 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2676 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2679 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2682 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2687 {
"anf", {
"anf",
D3DXRS_FLOAT4, 2, 2,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 2, 0, 8,
NULL}, 83},
2688 {
"anf[0]", {
"anf",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 83},
2689 {
"anf[1]", {
"anf",
D3DXRS_FLOAT4, 3, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 87},
2694 {
SetFloat, 0, 0, 0, 4, {0x40000000}},
2695 {
SetInt, 1, 0, 0, 4, {0x40000000}},
2696 {
SetBool, 1, 0, 0, 4, {0x3f800000}},
2700 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000}},
2704 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
2708 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2710 {
SetValue, 1, 4, 7, 4, {0x40000000}},
2712 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000}},
2714 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2717 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2719 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2722 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2724 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000}},
2727 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000}},
2730 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
2733 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000}},
2740bool3 vb = {1, 0, 1};
2742float3 vf = {5.1, 5.2, 5.3};
2743int3 vnf = {11, 85, 62};
2744bool3 vbf = {1, 1, 1};
2749 if (vb.z)
for (
i = 0;
i <
vn.z;
i++) tmp.x +=
pos.z * vf.z * vnf.z;
2750 else for (
i = 0;
i <
vn.y;
i++) tmp.y +=
pos.y * vf.y * vbf.z;
27560xfffe0300, 0x0053fffe, 0x42415443, 0x0000001c, 0x00000117, 0xfffe0300, 0x00000005, 0x0000001c,
27570x00000100, 0x00000110, 0x00000080, 0x00000000, 0x00000003, 0x00000084, 0x00000094, 0x000000a0,
27580x00020002, 0x00000001, 0x00000084, 0x000000a4, 0x000000b4, 0x00000002, 0x00000001, 0x000000b8,
27590x000000c8, 0x000000d8, 0x00000001, 0x00000003, 0x000000dc, 0x000000ec, 0x000000fc, 0x00010002,
27600x00000001, 0x000000dc, 0x00000100, 0xab006276, 0x00010001, 0x00030001, 0x00000001, 0x00000000,
27610xffffffff, 0x00000000, 0xffffffff, 0x00666276, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
27620xab006676, 0x00030001, 0x00030001, 0x00000001, 0x00000000, 0x40a33333, 0x40a66666, 0x40a9999a,
27630x00000000, 0xab006e76, 0x00020001, 0x00030001, 0x00000001, 0x00000000, 0x00000007, 0x00000008,
27640x00000009, 0x00000000, 0x00666e76, 0x41300000, 0x42aa0000, 0x42780000, 0x00000000, 0x335f7376,
27650x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320,
27660x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131, 0x05000051, 0xa00f0003, 0x00000000,
27670x00000000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000, 0x900f0000, 0x0200001f, 0x80000000,
27680xe00f0000, 0x01000028, 0xe0e40802, 0x03000005, 0x80010000, 0xa0aa0000, 0x90aa0000, 0x02000001,
27690x80010001, 0xa0000003, 0x01000026, 0xf0e40002, 0x04000004, 0x80010001, 0x80000000, 0xa0aa0001,
27700x80000001, 0x00000027, 0x02000001, 0x80020001, 0xa0000003, 0x0000002a, 0x03000005, 0x80010000,
27710xa0550000, 0x90550000, 0x02000001, 0x80020001, 0xa0000003, 0x01000026, 0xf0e40001, 0x04000004,
27720x80020001, 0x80000000, 0xa0aa0002, 0x80550001, 0x00000027, 0x02000001, 0x80010001, 0xa0000003,
27730x0000002b, 0x02000001, 0xe0030000, 0x80e40001, 0x02000001, 0xe00c0000, 0xa0000003, 0x0000ffff,
2778 {
"vf", {
"vf",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 50},
2794 {
SetVector, 0, 0, 0, 4, {0x40000123, 0x00000000, 0x40800123}},
2797 {
SetMatrix, 0, 0, 0, 4, {0x40000123, 0x00000000, 0x40800123}},
2811 {
"vn", {
"vn",
D3DXRS_INT4, 0, 3,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 59},
2827 {
SetVector, 0, 0, 0, 4, {0x00000002, 0x00000000, 0x00000004}},
2830 {
SetMatrix, 0, 0, 0, 4, {0x00000002, 0x00000000, 0x00000004}},
2844 {
"vb", {
"vb",
D3DXRS_BOOL, 0, 3,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 37},
2860 {
SetVector, 0, 0, 0, 3, {0x00000001, 0x00000000, 0x00000001}},
2863 {
SetMatrix, 0, 0, 0, 3, {0x00000001, 0x00000000, 0x00000001}},
2877 {
"vbf", {
"vbf",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 41},
2893 {
SetVector, 0, 0, 0, 4, {0x3f800000, 0x00000000, 0x3f800000}},
2896 {
SetMatrix, 0, 0, 0, 4, {0x3f800000, 0x00000000, 0x3f800000}},
2910 {
"vnf", {
"vnf",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 64},
2926 {
SetVector, 0, 0, 0, 4, {0x40000000, 0x00000000, 0x40800000}},
2929 {
SetMatrix, 0, 0, 0, 4, {0x40000000, 0x00000000, 0x40800000}},
2945bool3 vab[2] = {1, 0, 1, 1, 0, 1};
2946int3 van[2] = {70, 80, 90, 100, 110, 120};
2947float3 vaf[2] = {55.1, 55.2, 55.3, 55.4, 55.5, 55.6};
2948int3 vanf[2] = {130, 140, 150, 160, 170, 180};
2949bool3 vabf[2] = {1, 1, 1, 1, 1, 1};
2954 if (vab[1].
z)
for (
i = 0;
i < van[1].z;
i++) tmp.x +=
pos.z * vaf[1].z * vanf[1].z;
2955 else for (
i = 0;
i < van[1].y;
i++) tmp.y +=
pos.y * vaf[0].y * vabf[1].z;
29610xfffe0300, 0x0070fffe, 0x42415443, 0x0000001c, 0x0000018b, 0xfffe0300, 0x00000005, 0x0000001c,
29620x00000100, 0x00000184, 0x00000080, 0x00000000, 0x00000006, 0x00000084, 0x00000094, 0x000000ac,
29630x00040002, 0x00000002, 0x000000b4, 0x000000c4, 0x000000e4, 0x00000002, 0x00000002, 0x000000e8,
29640x000000f8, 0x00000118, 0x00000001, 0x00000006, 0x0000011c, 0x0000012c, 0x0000014c, 0x00020002,
29650x00000002, 0x00000154, 0x00000164, 0x00626176, 0x00010001, 0x00030001, 0x00000002, 0x00000000,
29660xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0x66626176, 0xababab00,
29670x00010001, 0x00030001, 0x00000002, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
29680x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00666176, 0x00030001, 0x00030001, 0x00000002,
29690x00000000, 0x425c6666, 0x425ccccd, 0x425d3333, 0x00000000, 0x425d999a, 0x425e0000, 0x425e6666,
29700x00000000, 0x006e6176, 0x00020001, 0x00030001, 0x00000002, 0x00000000, 0x00000046, 0x00000050,
29710x0000005a, 0x00000000, 0x00000064, 0x0000006e, 0x00000078, 0x00000000, 0x666e6176, 0xababab00,
29720x00020001, 0x00030001, 0x00000002, 0x00000000, 0x43020000, 0x430c0000, 0x43160000, 0x00000000,
29730x43200000, 0x432a0000, 0x43340000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73,
29740x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932,
29750x332e3235, 0x00313131, 0x05000051, 0xa00f0006, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
29760x0200001f, 0x80000000, 0x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x01000028, 0xe0e40805,
29770x03000005, 0x80010000, 0xa0aa0001, 0x90aa0000, 0x02000001, 0x80010001, 0xa0000006, 0x01000026,
29780xf0e40005, 0x04000004, 0x80010001, 0x80000000, 0xa0aa0003, 0x80000001, 0x00000027, 0x02000001,
29790x80020001, 0xa0000006, 0x0000002a, 0x03000005, 0x80010000, 0xa0550000, 0x90550000, 0x02000001,
29800x80020001, 0xa0000006, 0x01000026, 0xf0e40004, 0x04000004, 0x80020001, 0x80000000, 0xa0aa0005,
29810x80550001, 0x00000027, 0x02000001, 0x80010001, 0xa0000006, 0x0000002b, 0x02000001, 0xe0030000,
29820x80e40001, 0x02000001, 0xe00c0000, 0xa0000006, 0x0000ffff,
2987 {
"vaf", {
"vaf",
D3DXRS_FLOAT4, 0, 2,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 2, 0, 24,
NULL}, 62},
2988 {
"vaf[0]", {
"vaf",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 62},
2989 {
"vaf[1]", {
"vaf",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 66},
2998 {
SetIntArray, 1, 3, 5, 4, {0x40000000, 0x40400000, 0x40800000}},
3000 {0x40000000, 0x40400000, 0x40800000, 0x00000000, 0x40a00000, 0x00000000, 0x40e00000}},
3002 {
SetBoolArray, 1, 3, 5, 4, {0x3f800000, 0x3f800000, 0x3f800000}},
3004 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000}},
3006 {
SetFloatArray, 0, 3, 5, 4, {0x40000123, 0x00000000, 0x40800123}},
3008 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40a00123, 0x40c00123, 0x40e00123}},
3010 {
SetValue, 0, 12, 23, 4, {0x40000123, 0x00000000, 0x40800123}},
3012 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40a00123, 0x40c00123, 0x40e00123}},
3013 {
SetVector, 0, 0, 0, 4, {0x40000123, 0x00000000, 0x40800123}},
3015 {
SetVectorArray, 0, 1, 1, 4, {0x40000123, 0x00000000, 0x40800123}},
3017 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3019 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3022 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3024 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3027 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3030 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3033 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3038 {
"van", {
"van",
D3DXRS_INT4, 0, 6,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 2, 0, 24,
NULL}, 75},
3039 {
"van[0]", {
"van",
D3DXRS_INT4, 0, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 75},
3040 {
"van[1]", {
"van",
D3DXRS_INT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 79},
3049 {
SetIntArray, 1, 3, 5, 4, {0x00000002, 0x00000003, 0x00000004}},
3051 {0x00000002, 0x00000003, 0x00000004, 0x00000000, 0x00000005, 0x00000000, 0x00000007}},
3053 {
SetBoolArray, 1, 3, 5, 4, {0x00000001, 0x00000001, 0x00000001}},
3055 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000000, 0x00000001}},
3057 {
SetFloatArray, 0, 3, 5, 4, {0x00000002, 0x00000000, 0x00000004}},
3059 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000005, 0x00000006, 0x00000007}},
3061 {
SetValue, 1, 12, 23, 4, {0x00000002, 0x00000003, 0x00000004}},
3063 {0x00000002, 0x00000003, 0x00000004, 0x00000000, 0x00000005, 0x00000000, 0x00000007}},
3064 {
SetVector, 0, 0, 0, 4, {0x00000002, 0x00000000, 0x00000004}},
3066 {
SetVectorArray, 0, 1, 1, 4, {0x00000002, 0x00000000, 0x00000004}},
3068 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3070 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3073 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3075 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3078 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3081 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3084 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3089 {
"vab", {
"vab",
D3DXRS_BOOL, 0, 6,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 2, 0, 24,
NULL}, 37},
3090 {
"vab[0]", {
"vab",
D3DXRS_BOOL, 0, 3,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 37},
3091 {
"vab[1]", {
"vab",
D3DXRS_BOOL, 3, 3,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 40},
3100 {
SetIntArray, 1, 3, 5, 3, {0x00000001, 0x00000001, 0x00000001}},
3102 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
3104 {
SetBoolArray, 1, 3, 5, 3, {0x00000002, 0x00000003, 0x00000004}},
3106 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
3108 {
SetFloatArray, 0, 3, 5, 3, {0x00000001, 0x00000000, 0x00000001}},
3110 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3112 {
SetValue, 1, 12, 23, 3, {0x00000002, 0x00000003, 0x00000004}},
3114 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
3115 {
SetVector, 0, 0, 0, 3, {0x00000001, 0x00000000, 0x00000001}},
3117 {
SetVectorArray, 0, 1, 1, 3, {0x00000001, 0x00000000, 0x00000001}},
3119 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3121 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3124 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3126 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3129 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3132 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3135 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3140 {
"vabf", {
"vabf",
D3DXRS_FLOAT4, 4, 2,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 2, 0, 24,
NULL}, 49},
3141 {
"vabf[0]", {
"vabf",
D3DXRS_FLOAT4, 4, 1,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 49},
3142 {
"vabf[1]", {
"vabf",
D3DXRS_FLOAT4, 5, 1,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 53},
3151 {
SetIntArray, 1, 3, 5, 4, {0x3f800000, 0x3f800000, 0x3f800000}},
3153 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000}},
3155 {
SetBoolArray, 1, 3, 5, 4, {0x3f800000, 0x3f800000, 0x3f800000}},
3157 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000}},
3159 {
SetFloatArray, 0, 3, 5, 4, {0x3f800000, 0x00000000, 0x3f800000}},
3161 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3163 {
SetValue, 1, 12, 23, 4, {0x3f800000, 0x3f800000, 0x3f800000}},
3165 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000}},
3166 {
SetVector, 0, 0, 0, 4, {0x3f800000, 0x00000000, 0x3f800000},},
3168 {
SetVectorArray, 0, 1, 1, 4, {0x3f800000, 0x00000000, 0x3f800000}},
3170 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3172 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3175 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3177 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3180 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3183 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3186 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3191 {
"vanf", {
"vanf",
D3DXRS_FLOAT4, 2, 2,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 2, 0, 24,
NULL}, 89},
3192 {
"vanf[0]", {
"vanf",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 89},
3193 {
"vanf[1]", {
"vanf",
D3DXRS_FLOAT4, 3, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 93},
3202 {
SetIntArray, 1, 3, 5, 4, {0x40000000, 0x40400000, 0x40800000}},
3204 {0x40000000, 0x40400000, 0x40800000, 0x00000000, 0x40a00000, 0x00000000, 0x40e00000}},
3206 {
SetBoolArray, 1, 3, 5, 4, {0x3f800000, 0x3f800000, 0x3f800000}},
3208 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000}},
3210 {
SetFloatArray, 0, 3, 5, 4, {0x40000000, 0x00000000, 0x40800000}},
3212 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40a00000, 0x40c00000, 0x40e00000}},
3214 {
SetValue, 1, 12, 23, 4, {0x40000000, 0x40400000, 0x40800000}},
3216 {0x40000000, 0x40400000, 0x40800000, 0x00000000, 0x40a00000, 0x00000000, 0x40e00000}},
3217 {
SetVector, 0, 0, 0, 4, {0x40000000, 0x00000000, 0x40800000}},
3219 {
SetVectorArray, 0, 1, 1, 4, {0x40000000, 0x00000000, 0x40800000}},
3221 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3223 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3226 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3228 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3231 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3234 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3237 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3244bool3x2
cb = {1, 0, 1, 1, 0, 1};
3245int3x2
cn = {4, 5, 6, 7, 8, 9};
3246float3x2
cf = {15.1, 15.2, 15.3, 15.4, 15.5, 15.6};
3247bool3x2 cbf = {1, 1, 0, 1, 0, 1};
3248int3x2 cnf = {30, 31, 33, 32, 34, 36};
3253 if (
cb._32)
for (
i = 0;
i <
cn._31;
i++) tmp.x +=
pos.z *
cf._31 * cbf._32;
3254 else for (
i = 0;
i <
cn._32;
i++) tmp.y +=
pos.y *
cf._32 * cnf._32;
32600xfffe0300, 0x0066fffe, 0x42415443, 0x0000001c, 0x00000163, 0xfffe0300, 0x00000005, 0x0000001c,
32610x00000100, 0x0000015c, 0x00000080, 0x00000000, 0x00000006, 0x00000084, 0x00000094, 0x000000ac,
32620x00020002, 0x00000002, 0x00000084, 0x000000b0, 0x000000d0, 0x00000002, 0x00000002, 0x000000d4,
32630x000000e4, 0x00000104, 0x00000001, 0x00000006, 0x00000108, 0x00000118, 0x00000138, 0x00040002,
32640x00000002, 0x00000108, 0x0000013c, 0xab006263, 0x00010003, 0x00020003, 0x00000001, 0x00000000,
32650xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0x00666263, 0x3f800000,
32660x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0xab006663,
32670x00030003, 0x00020003, 0x00000001, 0x00000000, 0x4171999a, 0x4174cccd, 0x41780000, 0x00000000,
32680x41733333, 0x41766666, 0x4179999a, 0x00000000, 0xab006e63, 0x00020003, 0x00020003, 0x00000001,
32690x00000000, 0x00000004, 0x00000006, 0x00000008, 0x00000000, 0x00000005, 0x00000007, 0x00000009,
32700x00000000, 0x00666e63, 0x41f00000, 0x42040000, 0x42080000, 0x00000000, 0x41f80000, 0x42000000,
32710x42100000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820,
32720x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131,
32730x05000051, 0xa00f0006, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000,
32740x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x01000028, 0xe0e40805, 0x03000005, 0x80010000,
32750xa0aa0000, 0x90aa0000, 0x02000001, 0x80010001, 0xa0000006, 0x01000026, 0xf0e40004, 0x04000004,
32760x80010001, 0x80000000, 0xa0aa0003, 0x80000001, 0x00000027, 0x02000001, 0x80020001, 0xa0000006,
32770x0000002a, 0x03000005, 0x80010000, 0xa0aa0001, 0x90550000, 0x02000001, 0x80020001, 0xa0000006,
32780x01000026, 0xf0e40005, 0x04000004, 0x80020001, 0x80000000, 0xa0aa0005, 0x80550001, 0x00000027,
32790x02000001, 0x80010001, 0xa0000006, 0x0000002b, 0x02000001, 0xe0030000, 0x80e40001, 0x02000001,
32800xe00c0000, 0xa0000006, 0x0000ffff,
3285 {
"cf", {
"cf",
D3DXRS_FLOAT4, 0, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 57},
3295 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000}},
3298 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3301 {0x40000123, 0x40800123, 0x40c00123, 0x00000000, 0x00000000, 0x40a00123, 0x40e00123}},
3304 {0x40000123, 0x40800123, 0x40c00123, 0x00000000, 0x00000000, 0x40a00123, 0x40e00123}},
3308 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3310 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3313 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3315 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3318 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3321 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3324 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3329 {
"cn", {
"cn",
D3DXRS_INT4, 0, 6,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 70},
3339 {0x00000002, 0x00000004, 0x00000000, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3342 {0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
3345 {0x00000002, 0x00000004, 0x00000006, 0x00000000, 0x00000000, 0x00000005, 0x00000007}},
3348 {0x00000002, 0x00000004, 0x00000000, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3352 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3354 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3357 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3359 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3362 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3365 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3368 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3373 {
"cb", {
"cb",
D3DXRS_BOOL, 0, 6,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 37},
3383 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
3386 {0x00000002, 0x00000004, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3389 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3392 {0x00000002, 0x00000004, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3396 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3398 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3401 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3403 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3406 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3409 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3412 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3417 {
"cnf", {
"cnf",
D3DXRS_FLOAT4, 4, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 79},
3427 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000}},
3430 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3433 {0x40000000, 0x40800000, 0x40c00000, 0x00000000, 0x00000000, 0x40a00000, 0x40e00000}},
3436 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000}},
3441 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3443 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3446 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3448 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3451 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3454 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3457 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3462 {
"cbf", {
"cbf",
D3DXRS_FLOAT4, 2, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 44},
3472 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3475 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3478 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3481 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3485 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3487 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3490 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3492 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3495 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3498 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3501 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3508bool3x2 cab[2] = {1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1};
3509int3x2 can[2] = {14, 15, 16, 71, 18, 19, 55, 63, 96, 96, 97, 13};
3510float3x2 caf[2] = {1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9, 1.2, 1.3, 1.4};
3511bool3x2 cabf[2] = {1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1};
3512int3x2 canf[2] = {300, 301, 303, 302, 304, 306, 350, 365, 654, 612, 326, 999};
3517 if (cab[1]._32)
for (
i = 0;
i < can[1]._31;
i++) tmp.x +=
pos.z * caf[1]._31 * cabf[1]._32;
3518 else for (
i = 0;
i < can[1]._32;
i++) tmp.y +=
pos.y * caf[1]._32 * canf[1]._32;
35240xfffe0300, 0x0096fffe, 0x42415443, 0x0000001c, 0x00000223, 0xfffe0300, 0x00000005, 0x0000001c,
35250x00000100, 0x0000021c, 0x00000080, 0x00000000, 0x0000000c, 0x00000084, 0x00000094, 0x000000c4,
35260x00040002, 0x00000004, 0x000000cc, 0x000000dc, 0x0000011c, 0x00000002, 0x00000004, 0x00000120,
35270x00000130, 0x00000170, 0x00000001, 0x0000000c, 0x00000174, 0x00000184, 0x000001c4, 0x00080002,
35280x00000004, 0x000001cc, 0x000001dc, 0x00626163, 0x00010003, 0x00020003, 0x00000002, 0x00000000,
35290xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
35300xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0x66626163, 0xababab00, 0x00010003, 0x00020003,
35310x00000002, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000,
35320x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000,
35330x3f800000, 0x00000000, 0x00666163, 0x00030003, 0x00020003, 0x00000002, 0x00000000, 0x3f8ccccd,
35340x40533333, 0x40b00000, 0x00000000, 0x400ccccd, 0x408ccccd, 0x40d33333, 0x00000000, 0x40f66666,
35350x411e6666, 0x3fa66666, 0x00000000, 0x410ccccd, 0x3f99999a, 0x3fb33333, 0x00000000, 0x006e6163,
35360x00020003, 0x00020003, 0x00000002, 0x00000000, 0x0000000e, 0x00000010, 0x00000012, 0x00000000,
35370x0000000f, 0x00000047, 0x00000013, 0x00000000, 0x00000037, 0x00000060, 0x00000061, 0x00000000,
35380x0000003f, 0x00000060, 0x0000000d, 0x00000000, 0x666e6163, 0xababab00, 0x00020003, 0x00020003,
35390x00000002, 0x00000000, 0x43960000, 0x43978000, 0x43980000, 0x00000000, 0x43968000, 0x43970000,
35400x43990000, 0x00000000, 0x43af0000, 0x44238000, 0x43a30000, 0x00000000, 0x43b68000, 0x44190000,
35410x4479c000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820,
35420x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131,
35430x05000051, 0xa00f000c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000,
35440x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x01000028, 0xe0e4080b, 0x03000005, 0x80010000,
35450xa0aa0002, 0x90aa0000, 0x02000001, 0x80010001, 0xa000000c, 0x01000026, 0xf0e4000a, 0x04000004,
35460x80010001, 0x80000000, 0xa0aa0007, 0x80000001, 0x00000027, 0x02000001, 0x80020001, 0xa000000c,
35470x0000002a, 0x03000005, 0x80010000, 0xa0aa0003, 0x90550000, 0x02000001, 0x80020001, 0xa000000c,
35480x01000026, 0xf0e4000b, 0x04000004, 0x80020001, 0x80000000, 0xa0aa000b, 0x80550001, 0x00000027,
35490x02000001, 0x80010001, 0xa000000c, 0x0000002b, 0x02000001, 0xe0030000, 0x80e40001, 0x02000001,
35500xe00c0000, 0xa000000c, 0x0000ffff,
3555 {
"caf", {
"caf",
D3DXRS_FLOAT4, 0, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 2, 0, 48,
NULL}, 76},
3556 {
"caf[0]", {
"caf",
D3DXRS_FLOAT4, 0, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 76},
3557 {
"caf[1]", {
"caf",
D3DXRS_FLOAT4, 2, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 84},
3567 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000}},
3569 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000, 0x00000000,
3570 0x41000000, 0x41200000, 0x41400000, 0x00000000, 0x41100000, 0x41300000, 0x41500000}},
3573 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3575 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
3576 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3579 {0x40000123, 0x40800123, 0x40c00123, 0x00000000, 0x00000000, 0x40a00123, 0x40e00123}},
3581 {0x40000123, 0x40800123, 0x40c00123, 0x00000000, 0x00000000, 0x40a00123, 0x40e00123, 0x00000000,
3582 0x41000123, 0x41200123, 0x41400123, 0x00000000, 0x41100123, 0x41300123, 0x41500123}},
3585 {0x40000123, 0x40800123, 0x40c00123, 0x00000000, 0x00000000, 0x40a00123, 0x40e00123}},
3587 {0x40000123, 0x40800123, 0x40c00123, 0x00000000, 0x00000000, 0x40a00123, 0x40e00123, 0x00000000,
3588 0x41000123, 0x41200123, 0x41400123, 0x00000000, 0x41100123, 0x41300123, 0x41500123}},
3592 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3594 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
3595 0x41600123, 0x41a00123, 0x00000000, 0x00000000, 0x41700123, 0x41b00123, 0x41f00123}},
3597 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3600 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3602 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
3603 0x41a00123, 0x00000000, 0x00000000, 0x00000000, 0x41b00123, 0x41f00123, 0x42300123}},
3605 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3608 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3610 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
3611 0x41a00123, 0x41b00123, 0x41c00123, 0x00000000, 0x00000000, 0x41f00123, 0x42000123}},
3614 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123}},
3616 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
3617 0x41900123, 0x41d00123, 0x42100123, 0x00000000, 0x41a00123, 0x00000000, 0x00000000}},
3620 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123}},
3622 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
3623 0x41900123, 0x41a00123, 0x41b00123, 0x00000000, 0x41d00123, 0x00000000, 0x41f00123}},
3628 {
"can", {
"can",
D3DXRS_INT4, 0, 12,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 2, 0, 48,
NULL}, 97},
3629 {
"can[0]", {
"can",
D3DXRS_INT4, 0, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 97},
3630 {
"can[1]", {
"can",
D3DXRS_INT4, 2, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 105},
3640 {0x00000002, 0x00000004, 0x00000000, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3642 {0x00000002, 0x00000004, 0x00000000, 0x00000000, 0x00000003, 0x00000005, 0x00000007, 0x00000000,
3643 0x00000008, 0x0000000a, 0x0000000c, 0x00000000, 0x00000009, 0x0000000b, 0x0000000d}},
3646 {0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
3648 {0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000,
3649 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
3652 {0x00000002, 0x00000004, 0x00000006, 0x00000000, 0x00000000, 0x00000005, 0x00000007}},
3654 {0x00000002, 0x00000004, 0x00000006, 0x00000000, 0x00000000, 0x00000005, 0x00000007, 0x00000000,
3655 0x00000008, 0x0000000a, 0x0000000c, 0x00000000, 0x00000009, 0x0000000b, 0x0000000d}},
3658 {0x00000002, 0x00000004, 0x00000000, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3660 {0x00000002, 0x00000004, 0x00000000, 0x00000000, 0x00000003, 0x00000005, 0x00000007, 0x00000000,
3661 0x00000008, 0x0000000a, 0x0000000c, 0x00000000, 0x00000009, 0x0000000b, 0x0000000d}},
3665 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3667 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b, 0x00000000,
3668 0x0000000e, 0x00000014, 0x00000000, 0x00000000, 0x0000000f, 0x00000016, 0x0000001e}},
3670 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3673 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3675 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b, 0x00000000,
3676 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000016, 0x0000001e, 0x0000002c}},
3678 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3681 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3683 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008, 0x00000000,
3684 0x00000014, 0x00000016, 0x00000018, 0x00000000, 0x00000000, 0x0000001e, 0x00000020}},
3687 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b}},
3689 {0x00000002, 0x00000006, 0x0000000a, 0x00000000, 0x00000000, 0x00000007, 0x0000000b, 0x00000000,
3690 0x00000012, 0x0000001a, 0x00000024, 0x00000000, 0x00000014, 0x00000000, 0x00000000}},
3693 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008}},
3695 {0x00000002, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008, 0x00000000,
3696 0x00000012, 0x00000014, 0x00000016, 0x00000000, 0x0000001a, 0x00000000, 0x0000001e}},
3701 {
"cab", {
"cab",
D3DXRS_BOOL, 0, 12,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 2, 0, 48,
NULL}, 37},
3702 {
"cab[0]", {
"cab",
D3DXRS_BOOL, 0, 6,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 37},
3703 {
"cab[1]", {
"cab",
D3DXRS_BOOL, 6, 6,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 43},
3713 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
3715 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
3716 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3719 {0x00000002, 0x00000004, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3721 {0x00000002, 0x00000004, 0x00000000, 0x00000003, 0x00000005, 0x00000007, 0x00000008, 0x0000000a,
3722 0x0000000c, 0x00000009, 0x0000000b, 0x0000000d}},
3725 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3727 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
3728 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3731 {0x00000002, 0x00000004, 0x00000000, 0x00000003, 0x00000005, 0x00000007}},
3733 {0x00000002, 0x00000004, 0x00000000, 0x00000003, 0x00000005, 0x00000007, 0x00000008, 0x0000000a,
3734 0x0000000c, 0x00000009, 0x0000000b, 0x0000000d}},
3738 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3740 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
3741 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
3743 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3746 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3748 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000,
3749 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
3751 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3754 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3756 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
3757 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3760 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
3762 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
3763 0x00000001, 0x00000001, 0x00000000, 0x00000000}},
3766 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
3768 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
3769 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
3774 {
"canf", {
"canf",
D3DXRS_FLOAT4, 8, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 2, 0, 48,
NULL}, 119},
3775 {
"canf[0]", {
"canf",
D3DXRS_FLOAT4, 8, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 119},
3776 {
"canf[1]", {
"canf",
D3DXRS_FLOAT4, 10, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 127},
3786 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000}},
3788 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000, 0x00000000,
3789 0x41000000, 0x41200000, 0x41400000, 0x00000000, 0x41100000, 0x41300000, 0x41500000}},
3792 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3794 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
3795 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3798 {0x40000000, 0x40800000, 0x40c00000, 0x00000000, 0x00000000, 0x40a00000, 0x40e00000}},
3800 {0x40000000, 0x40800000, 0x40c00000, 0x00000000, 0x00000000, 0x40a00000, 0x40e00000, 0x00000000,
3801 0x41000000, 0x41200000, 0x41400000, 0x00000000, 0x41100000, 0x41300000, 0x41500000}},
3804 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000}},
3806 {0x40000000, 0x40800000, 0x00000000, 0x00000000, 0x40400000, 0x40a00000, 0x40e00000, 0x00000000,
3807 0x41000000, 0x41200000, 0x41400000, 0x00000000, 0x41100000, 0x41300000, 0x41500000}},
3811 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3813 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000, 0x00000000,
3814 0x41600000, 0x41a00000, 0x00000000, 0x00000000, 0x41700000, 0x41b00000, 0x41f00000}},
3816 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3819 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3821 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000, 0x00000000,
3822 0x41a00000, 0x00000000, 0x00000000, 0x00000000, 0x41b00000, 0x41f00000, 0x42300000}},
3824 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3827 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3829 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000, 0x00000000,
3830 0x41a00000, 0x41b00000, 0x41c00000, 0x00000000, 0x00000000, 0x41f00000, 0x42000000}},
3833 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000}},
3835 {0x40000000, 0x40c00000, 0x41200000, 0x00000000, 0x00000000, 0x40e00000, 0x41300000, 0x00000000,
3836 0x41900000, 0x41d00000, 0x42100000, 0x00000000, 0x41a00000, 0x00000000, 0x00000000}},
3839 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000}},
3841 {0x40000000, 0x00000000, 0x40800000, 0x00000000, 0x40c00000, 0x40e00000, 0x41000000, 0x00000000,
3842 0x41900000, 0x41a00000, 0x41b00000, 0x00000000, 0x41d00000, 0x00000000, 0x41f00000}},
3847 {
"cabf", {
"cabf",
D3DXRS_FLOAT4, 4, 4,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 2, 0, 48,
NULL}, 55},
3848 {
"cabf[0]", {
"cabf",
D3DXRS_FLOAT4, 4, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 55},
3849 {
"cabf[1]", {
"cabf",
D3DXRS_FLOAT4, 6, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 63},
3859 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3861 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
3862 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3865 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3867 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
3868 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3871 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3873 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000,
3874 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3877 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3879 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
3880 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3884 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3886 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000,
3887 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3889 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3892 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3894 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000,
3895 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3897 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3900 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3902 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
3903 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3906 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
3908 {0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000,
3909 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000}},
3912 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000}},
3914 {0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
3915 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000}},
3922row_major bool3x2 rb = {1, 1, 0, 0, 1, 1};
3923row_major int3x2 rn = {80, 81, 82, 83, 84, 85};
3924row_major float3x2 rf = {95.1, 95.2, 95.3, 95.4, 95.5, 95.6};
3925row_major bool3x2 rbf = {1, 1, 1, 1, 0, 1};
3926row_major int3x2 rnf = {37, 13, 98, 54, 77, 36};
3931 if (rb._32)
for (
i = 0;
i < rn._31;
i++) tmp.x +=
pos.z * rf._31 * rbf._32;
3932 else for (
i = 0;
i < rn._32;
i++) tmp.y +=
pos.y * rf._32 * rnf._32;
39380xfffe0300, 0x0076fffe, 0x42415443, 0x0000001c, 0x000001a3, 0xfffe0300, 0x00000005, 0x0000001c,
39390x00000100, 0x0000019c, 0x00000080, 0x00000000, 0x00000006, 0x00000084, 0x00000094, 0x000000ac,
39400x00030002, 0x00000003, 0x00000084, 0x000000b0, 0x000000e0, 0x00000002, 0x00000003, 0x000000e4,
39410x000000f4, 0x00000124, 0x00000001, 0x00000006, 0x00000128, 0x00000138, 0x00000168, 0x00060002,
39420x00000003, 0x00000128, 0x0000016c, 0xab006272, 0x00010002, 0x00020003, 0x00000001, 0x00000000,
39430xffffffff, 0xffffffff, 0x00000000, 0x00000000, 0xffffffff, 0xffffffff, 0x00666272, 0x3f800000,
39440x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
39450x3f800000, 0x00000000, 0x00000000, 0xab006672, 0x00030002, 0x00020003, 0x00000001, 0x00000000,
39460x42be3333, 0x42be6666, 0x00000000, 0x00000000, 0x42be999a, 0x42becccd, 0x00000000, 0x00000000,
39470x42bf0000, 0x42bf3333, 0x00000000, 0x00000000, 0xab006e72, 0x00020002, 0x00020003, 0x00000001,
39480x00000000, 0x00000050, 0x00000051, 0x00000001, 0x00000000, 0x00000052, 0x00000053, 0x00000001,
39490x00000000, 0x00000054, 0x00000055, 0x00000001, 0x00000000, 0x00666e72, 0x42140000, 0x41500000,
39500x00000000, 0x00000000, 0x42c40000, 0x42580000, 0x00000000, 0x00000000, 0x429a0000, 0x42100000,
39510x00000000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820,
39520x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131,
39530x05000051, 0xa00f0009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000,
39540x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x01000028, 0xe0e40805, 0x03000005, 0x80010000,
39550xa0000002, 0x90aa0000, 0x02000001, 0x80010001, 0xa0000009, 0x01000026, 0xf0e40004, 0x04000004,
39560x80010001, 0x80000000, 0xa0550005, 0x80000001, 0x00000027, 0x02000001, 0x80020001, 0xa0000009,
39570x0000002a, 0x03000005, 0x80010000, 0xa0550002, 0x90550000, 0x02000001, 0x80020001, 0xa0000009,
39580x01000026, 0xf0e40005, 0x04000004, 0x80020001, 0x80000000, 0xa0550008, 0x80550001, 0x00000027,
39590x02000001, 0x80010001, 0xa0000009, 0x0000002b, 0x02000001, 0xe0030000, 0x80e40001, 0x02000001,
39600xe00c0000, 0xa0000009, 0x0000ffff,
3965 {
"rf", {
"rf",
D3DXRS_FLOAT4, 0, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 61},
3975 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
3976 0x00000000, 0x40e00000}},
3979 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
3980 0x00000000, 0x3f800000}},
3983 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000, 0x00000000,
3984 0x40c00123, 0x40e00123}},
3987 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000, 0x00000000,
3988 0x40c00123, 0x40e00123}},
3992 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
3993 0x41200123, 0x41300123}},
3995 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
3996 0x41200123, 0x41300123}},
3999 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4000 0x41200123, 0x41300123}},
4002 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4003 0x40800123, 0x41000123}},
4006 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4007 0x40800123, 0x41000123}},
4010 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4011 0x41200123, 0x41300123}},
4014 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4015 0x40800123, 0x41000123}},
4020 {
"rn", {
"rn",
D3DXRS_INT4, 0, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 78},
4030 {0x00000002, 0x00000003, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4031 0x00000000, 0x00000007, 0x00000001}},
4034 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000,
4035 0x00000000, 0x00000001, 0x00000001}},
4038 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4039 0x00000006, 0x00000007, 0x00000001}},
4042 {0x00000002, 0x00000003, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4043 0x00000000, 0x00000007, 0x00000001}},
4047 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4048 0x0000000a, 0x0000000b, 0x00000001}},
4050 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4051 0x0000000a, 0x0000000b, 0x00000001}},
4054 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4055 0x0000000a, 0x0000000b, 0x00000001}},
4057 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4058 0x00000004, 0x00000008, 0x00000001}},
4061 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4062 0x00000004, 0x00000008, 0x00000001}},
4065 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4066 0x0000000a, 0x0000000b, 0x00000001}},
4069 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4070 0x00000004, 0x00000008, 0x00000001}},
4075 {
"rb", {
"rb",
D3DXRS_BOOL, 0, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 37},
4085 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
4088 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
4091 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4094 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
4098 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4100 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001},},
4103 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4105 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
4108 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
4111 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4114 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
4119 {
"rnf", {
"rnf",
D3DXRS_FLOAT4, 6, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 91},
4129 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4130 0x00000000, 0x40e00000}},
4133 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4134 0x00000000, 0x3f800000}},
4137 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4138 0x40c00000, 0x40e00000}},
4141 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4142 0x00000000, 0x40e00000}},
4146 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4147 0x41200000, 0x41300000}},
4149 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4150 0x41200000, 0x41300000}},
4153 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4154 0x41200000, 0x41300000}},
4156 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4157 0x40800000, 0x41000000}},
4160 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4161 0x40800000, 0x41000000}},
4164 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4165 0x41200000, 0x41300000}},
4168 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4169 0x40800000, 0x41000000}},
4174 {
"rbf", {
"rbf",
D3DXRS_FLOAT4, 3, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 44},
4184 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4185 0x00000000, 0x3f800000}},
4188 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4189 0x00000000, 0x3f800000}},
4192 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4193 0x3f800000, 0x3f800000}},
4196 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4197 0x00000000, 0x3f800000}},
4201 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4202 0x3f800000, 0x3f800000}},
4204 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4205 0x3f800000, 0x3f800000}},
4208 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4209 0x3f800000, 0x3f800000}},
4211 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4212 0x3f800000, 0x3f800000}},
4215 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4216 0x3f800000, 0x3f800000}},
4219 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4220 0x3f800000, 0x3f800000}},
4223 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4224 0x3f800000, 0x3f800000}},
4231row_major bool3x2 rab[2] = {1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1};
4232row_major int3x2 ran[2] = {4, 5, 6, 1, 8, 1, 5, 3, 9, 6, 7, 3};
4233row_major float3x2 raf[2] = {1.5, 2.8, 3.3, 4.9, 5.9, 6.8, 7.9, 8.5, 9.4, 1.3, 1.2, 1.1};
4234row_major bool3x2 rabf[2] = {1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1};
4235row_major int3x2 ranf[2] = {35, 40, 60, 80, 70, 56, 37, 13, 98, 54, 77, 36};
4240 if (rab[1]._32)
for (
i = 0;
i < ran[1]._31;
i++) tmp.x +=
pos.z * raf[1]._31 * rabf[1]._32;
4241 else for (
i = 0;
i < ran[1]._32;
i++) tmp.y +=
pos.y * raf[1]._32 * ranf[1]._32;
42470xfffe0300, 0x00b6fffe, 0x42415443, 0x0000001c, 0x000002a3, 0xfffe0300, 0x00000005, 0x0000001c,
42480x00000100, 0x0000029c, 0x00000080, 0x00000000, 0x0000000c, 0x00000084, 0x00000094, 0x000000c4,
42490x00060002, 0x00000006, 0x000000cc, 0x000000dc, 0x0000013c, 0x00000002, 0x00000006, 0x00000140,
42500x00000150, 0x000001b0, 0x00000001, 0x0000000c, 0x000001b4, 0x000001c4, 0x00000224, 0x000c0002,
42510x00000006, 0x0000022c, 0x0000023c, 0x00626172, 0x00010002, 0x00020003, 0x00000002, 0x00000000,
42520xffffffff, 0x00000000, 0x00000000, 0xffffffff, 0x00000000, 0xffffffff, 0x00000000, 0x00000000,
42530xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0x66626172, 0xababab00, 0x00010002, 0x00020003,
42540x00000002, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000,
42550x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000,
42560x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000,
42570x00000000, 0x00000000, 0x00666172, 0x00030002, 0x00020003, 0x00000002, 0x00000000, 0x3fc00000,
42580x40333333, 0x00000000, 0x00000000, 0x40533333, 0x409ccccd, 0x00000000, 0x00000000, 0x40bccccd,
42590x40d9999a, 0x00000000, 0x00000000, 0x40fccccd, 0x41080000, 0x00000000, 0x00000000, 0x41166666,
42600x3fa66666, 0x00000000, 0x00000000, 0x3f99999a, 0x3f8ccccd, 0x00000000, 0x00000000, 0x006e6172,
42610x00020002, 0x00020003, 0x00000002, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
42620x00000006, 0x00000001, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000000,
42630x00000005, 0x00000003, 0x00000001, 0x00000000, 0x00000009, 0x00000006, 0x00000001, 0x00000000,
42640x00000007, 0x00000003, 0x00000001, 0x00000000, 0x666e6172, 0xababab00, 0x00020002, 0x00020003,
42650x00000002, 0x00000000, 0x420c0000, 0x42200000, 0x00000000, 0x00000000, 0x42700000, 0x42a00000,
42660x00000000, 0x00000000, 0x428c0000, 0x42600000, 0x00000000, 0x00000000, 0x42140000, 0x41500000,
42670x00000000, 0x00000000, 0x42c40000, 0x42580000, 0x00000000, 0x00000000, 0x429a0000, 0x42100000,
42680x00000000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820,
42690x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131,
42700x05000051, 0xa00f0012, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000,
42710x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x01000028, 0xe0e4080b, 0x03000005, 0x80010000,
42720xa0000005, 0x90aa0000, 0x02000001, 0x80010001, 0xa0000012, 0x01000026, 0xf0e4000a, 0x04000004,
42730x80010001, 0x80000000, 0xa055000b, 0x80000001, 0x00000027, 0x02000001, 0x80020001, 0xa0000012,
42740x0000002a, 0x03000005, 0x80010000, 0xa0550005, 0x90550000, 0x02000001, 0x80020001, 0xa0000012,
42750x01000026, 0xf0e4000b, 0x04000004, 0x80020001, 0x80000000, 0xa0550011, 0x80550001, 0x00000027,
42760x02000001, 0x80010001, 0xa0000012, 0x0000002b, 0x02000001, 0xe0030000, 0x80e40001, 0x02000001,
42770xe00c0000, 0xa0000012, 0x0000ffff,
4282 {
"raf", {
"raf",
D3DXRS_FLOAT4, 0, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 2, 2, 0, 48,
NULL}, 84},
4283 {
"raf[0]", {
"raf",
D3DXRS_FLOAT4, 0, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 84},
4284 {
"raf[1]", {
"raf",
D3DXRS_FLOAT4, 3, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_FLOAT, 3, 2, 1, 0, 24,
NULL}, 96},
4294 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4295 0x00000000, 0x40e00000}},
4297 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4298 0x00000000, 0x40e00000, 0x00000000, 0x00000000, 0x41000000, 0x41100000, 0x00000000, 0x00000000,
4299 0x41200000, 0x41300000, 0x00000000, 0x00000000, 0x41400000, 0x41500000}},
4302 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4303 0x00000000, 0x3f800000}},
4305 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4306 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4307 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4310 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000, 0x00000000,
4311 0x40c00123, 0x40e00123}},
4313 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000, 0x00000000,
4314 0x40c00123, 0x40e00123, 0x00000000, 0x00000000, 0x41000123, 0x41100123, 0x00000000, 0x00000000,
4315 0x41200123, 0x41300123, 0x00000000, 0x00000000, 0x41400123, 0x41500123}},
4318 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000, 0x00000000,
4319 0x40c00123, 0x40e00123}},
4321 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000, 0x00000000,
4322 0x40c00123, 0x40e00123, 0x00000000, 0x00000000, 0x41000123, 0x41100123, 0x00000000, 0x00000000,
4323 0x41200123, 0x41300123, 0x00000000, 0x00000000, 0x41400123, 0x41500123}},
4327 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4328 0x41200123, 0x41300123}},
4330 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4331 0x41200123, 0x41300123, 0x00000000, 0x00000000, 0x41600123, 0x41700123, 0x00000000, 0x00000000,
4332 0x41a00123, 0x41b00123, 0x00000000, 0x00000000, 0x00000000, 0x41f00123}},
4334 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4335 0x41200123, 0x41300123}},
4338 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4339 0x41200123, 0x41300123}},
4341 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4342 0x41200123, 0x41300123, 0x00000000, 0x00000000, 0x41a00123, 0x41b00123, 0x00000000, 0x00000000,
4343 0x00000000, 0x41f00123, 0x00000000, 0x00000000, 0x00000000, 0x42300123}},
4345 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4346 0x40800123, 0x41000123}},
4349 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4350 0x40800123, 0x41000123}},
4352 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4353 0x40800123, 0x41000123, 0x00000000, 0x00000000, 0x41a00123, 0x00000000, 0x00000000, 0x00000000,
4354 0x41b00123, 0x41f00123, 0x00000000, 0x00000000, 0x41c00123, 0x42000123}},
4357 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4358 0x41200123, 0x41300123}},
4360 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x40c00123, 0x40e00123, 0x00000000, 0x00000000,
4361 0x41200123, 0x41300123, 0x00000000, 0x00000000, 0x41900123, 0x41a00123, 0x00000000, 0x00000000,
4362 0x41d00123, 0x00000000, 0x00000000, 0x00000000, 0x42100123, 0x00000000}},
4365 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4366 0x40800123, 0x41000123}},
4368 {0x40000123, 0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x00000000, 0x00000000,
4369 0x40800123, 0x41000123, 0x00000000, 0x00000000, 0x41900123, 0x41d00123, 0x00000000, 0x00000000,
4370 0x41a00123, 0x00000000, 0x00000000, 0x00000000, 0x41b00123, 0x41f00123}},
4375 {
"ran", {
"ran",
D3DXRS_INT4, 0, 12,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 2, 0, 48,
NULL}, 113},
4376 {
"ran[0]", {
"ran",
D3DXRS_INT4, 0, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 113},
4377 {
"ran[1]", {
"ran",
D3DXRS_INT4, 3, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 125},
4387 {0x00000002, 0x00000003, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4388 0x00000000, 0x00000007, 0x00000001}},
4390 {0x00000002, 0x00000003, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4391 0x00000000, 0x00000007, 0x00000001, 0x00000000, 0x00000008, 0x00000009, 0x00000001, 0x00000000,
4392 0x0000000a, 0x0000000b, 0x00000001, 0x00000000, 0x0000000c, 0x0000000d, 0x00000001}},
4395 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000,
4396 0x00000000, 0x00000001, 0x00000001}},
4398 {0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000,
4399 0x00000000, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000,
4400 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
4403 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4404 0x00000006, 0x00000007, 0x00000001}},
4406 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4407 0x00000006, 0x00000007, 0x00000001, 0x00000000, 0x00000008, 0x00000009, 0x00000001, 0x00000000,
4408 0x0000000a, 0x0000000b, 0x00000001, 0x00000000, 0x0000000c, 0x0000000d, 0x00000001}},
4411 {0x00000002, 0x00000003, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4412 0x00000000, 0x00000007, 0x00000001}},
4414 {0x00000002, 0x00000003, 0x00000001, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
4415 0x00000000, 0x00000007, 0x00000001, 0x00000000, 0x00000008, 0x00000009, 0x00000001, 0x00000000,
4416 0x0000000a, 0x0000000b, 0x00000001, 0x00000000, 0x0000000c, 0x0000000d, 0x00000001}},
4420 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4421 0x0000000a, 0x0000000b, 0x00000001}},
4423 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4424 0x0000000a, 0x0000000b, 0x00000001, 0x00000000, 0x0000000e, 0x0000000f, 0x00000001, 0x00000000,
4425 0x00000014, 0x00000016, 0x00000001, 0x00000000, 0x00000000, 0x0000001e, 0x00000001}},
4427 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4428 0x0000000a, 0x0000000b, 0x00000001}},
4431 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4432 0x0000000a, 0x0000000b, 0x00000001}},
4434 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4435 0x0000000a, 0x0000000b, 0x00000001, 0x00000000, 0x00000014, 0x00000016, 0x00000001, 0x00000000,
4436 0x00000000, 0x0000001e, 0x00000001, 0x00000000, 0x00000000, 0x0000002c, 0x00000001}},
4438 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4439 0x00000004, 0x00000008, 0x00000001}},
4442 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4443 0x00000004, 0x00000008, 0x00000001}},
4445 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4446 0x00000004, 0x00000008, 0x00000001, 0x00000000, 0x00000014, 0x00000000, 0x00000001, 0x00000000,
4447 0x00000016, 0x0000001e, 0x00000001, 0x00000000, 0x00000018, 0x00000020, 0x00000001}},
4450 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4451 0x0000000a, 0x0000000b, 0x00000001}},
4453 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000001, 0x00000000,
4454 0x0000000a, 0x0000000b, 0x00000001, 0x00000000, 0x00000012, 0x00000014, 0x00000001, 0x00000000,
4455 0x0000001a, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000000, 0x00000001}},
4458 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4459 0x00000004, 0x00000008, 0x00000001}},
4461 {0x00000002, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000007, 0x00000001, 0x00000000,
4462 0x00000004, 0x00000008, 0x00000001, 0x00000000, 0x00000012, 0x0000001a, 0x00000001, 0x00000000,
4463 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x0000001e, 0x00000001}},
4468 {
"rab", {
"rab",
D3DXRS_BOOL, 0, 12,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 2, 0, 48,
NULL}, 37},
4469 {
"rab[0]", {
"rab",
D3DXRS_BOOL, 0, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 37},
4470 {
"rab[1]", {
"rab",
D3DXRS_BOOL, 6, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 43},
4480 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
4482 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001,
4483 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4486 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
4488 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007, 0x00000008, 0x00000009,
4489 0x0000000a, 0x0000000b, 0x0000000c, 0x0000000d}},
4492 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4494 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
4495 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4498 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
4500 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007, 0x00000008, 0x00000009,
4501 0x0000000a, 0x0000000b, 0x0000000c, 0x0000000d}},
4505 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4507 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
4508 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
4510 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4513 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4515 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
4516 0x00000000, 0x00000001, 0x00000000, 0x00000001}},
4518 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
4521 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
4523 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000,
4524 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4527 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4529 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
4530 0x00000001, 0x00000000, 0x00000001, 0x00000000}},
4533 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001}},
4535 {0x00000001, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001,
4536 0x00000001, 0x00000000, 0x00000001, 0x00000001}},
4541 {
"ranf", {
"ranf",
D3DXRS_FLOAT4, 12, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 2, 0, 48,
NULL}, 143},
4542 {
"ranf[0]", {
"ranf",
D3DXRS_FLOAT4, 12, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 143},
4543 {
"ranf[1]", {
"ranf",
D3DXRS_FLOAT4, 15, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 155},
4553 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4554 0x00000000, 0x40e00000,}},
4556 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4557 0x00000000, 0x40e00000, 0x00000000, 0x00000000, 0x41000000, 0x41100000, 0x00000000, 0x00000000,
4558 0x41200000, 0x41300000, 0x00000000, 0x00000000, 0x41400000, 0x41500000}},
4561 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4562 0x00000000, 0x3f800000}},
4564 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4565 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4566 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4569 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4570 0x40c00000, 0x40e00000}},
4572 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4573 0x40c00000, 0x40e00000, 0x00000000, 0x00000000, 0x41000000, 0x41100000, 0x00000000, 0x00000000,
4574 0x41200000, 0x41300000, 0x00000000, 0x00000000, 0x41400000, 0x41500000}},
4577 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4578 0x00000000, 0x40e00000}},
4580 {0x40000000, 0x40400000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000, 0x00000000,
4581 0x00000000, 0x40e00000, 0x00000000, 0x00000000, 0x41000000, 0x41100000, 0x00000000, 0x00000000,
4582 0x41200000, 0x41300000, 0x00000000, 0x00000000, 0x41400000, 0x41500000}},
4586 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4587 0x41200000, 0x41300000}},
4589 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4590 0x41200000, 0x41300000, 0x00000000, 0x00000000, 0x41600000, 0x41700000, 0x00000000, 0x00000000,
4591 0x41a00000, 0x41b00000, 0x00000000, 0x00000000, 0x00000000, 0x41f00000}},
4593 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4594 0x41200000, 0x41300000}},
4597 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4598 0x41200000, 0x41300000}},
4600 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4601 0x41200000, 0x41300000, 0x00000000, 0x00000000, 0x41a00000, 0x41b00000, 0x00000000, 0x00000000,
4602 0x00000000, 0x41f00000, 0x00000000, 0x00000000, 0x00000000, 0x42300000}},
4604 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4605 0x40800000, 0x41000000}},
4608 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4609 0x40800000, 0x41000000}},
4611 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4612 0x40800000, 0x41000000, 0x00000000, 0x00000000, 0x41a00000, 0x00000000, 0x00000000, 0x00000000,
4613 0x41b00000, 0x41f00000, 0x00000000, 0x00000000, 0x41c00000, 0x42000000}},
4616 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4617 0x41200000, 0x41300000}},
4619 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40c00000, 0x40e00000, 0x00000000, 0x00000000,
4620 0x41200000, 0x41300000, 0x00000000, 0x00000000, 0x41900000, 0x41a00000, 0x00000000, 0x00000000,
4621 0x41d00000, 0x00000000, 0x00000000, 0x00000000, 0x42100000, 0x00000000}},
4624 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4625 0x40800000, 0x41000000}},
4627 {0x40000000, 0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000,
4628 0x40800000, 0x41000000, 0x00000000, 0x00000000, 0x41900000, 0x41d00000, 0x00000000, 0x00000000,
4629 0x41a00000, 0x00000000, 0x00000000, 0x00000000, 0x41b00000, 0x41f00000}},
4634 {
"rabf", {
"rabf",
D3DXRS_FLOAT4, 6, 6,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 2, 0, 48,
NULL}, 55},
4635 {
"rabf[0]", {
"rabf",
D3DXRS_FLOAT4, 6, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 55},
4636 {
"rabf[1]", {
"rabf",
D3DXRS_FLOAT4, 9, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_BOOL, 3, 2, 1, 0, 24,
NULL}, 67},
4646 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4647 0x00000000, 0x3f800000}},
4649 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4650 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4651 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4654 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4655 0x00000000, 0x3f800000}},
4657 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4658 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4659 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4662 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4663 0x3f800000, 0x3f800000}},
4665 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4666 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4667 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4670 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4671 0x00000000, 0x3f800000}},
4673 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4674 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4675 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4679 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4680 0x3f800000, 0x3f800000}},
4682 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4683 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4684 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
4686 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4687 0x3f800000, 0x3f800000}},
4690 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4691 0x3f800000, 0x3f800000}},
4693 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4694 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4695 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000}},
4697 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4698 0x3f800000, 0x3f800000}},
4701 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4702 0x3f800000, 0x3f800000}},
4704 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4705 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
4706 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4709 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4710 0x3f800000, 0x3f800000}},
4712 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4713 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4714 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000}},
4717 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4718 0x3f800000, 0x3f800000}},
4720 {0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
4721 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
4722 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000}},
4729struct {
bool b; bool3 vb;}
sb = {1, 1, 0, 1};
4730struct {
int n;
int3 vn;} sn = {11, 12, 13, 14};
4731struct {
float f; float3 vf;} sf = {1.1f, 2.2f, 3.3f, 4.4f};
4732struct {
int nf;
int3 vnf;} snf = {31, 32, 33, 34};
4733struct {
bool bf; bool3 vbf;} sbf = {1, 0, 0, 1};
4738 if (
sb.vb.z)
for (
i = 0;
i < sn.n;
i++) tmp.x +=
pos.z * sf.vf.x * snf.vnf.z;
4739 else for (
i = 0;
i < sn.vn.z;
i++) tmp.y +=
pos.y * sf.vf.z * sbf.vbf.y;
47450xfffe0300, 0x00a2fffe, 0x42415443, 0x0000001c, 0x00000253, 0xfffe0300, 0x00000005, 0x0000001c,
47460x00000100, 0x0000024c, 0x00000080, 0x00000000, 0x00000004, 0x000000bc, 0x000000cc, 0x000000dc,
47470x00040002, 0x00000002, 0x000000f8, 0x00000108, 0x00000128, 0x00000002, 0x00000002, 0x00000164,
47480x00000174, 0x00000194, 0x00000001, 0x00000004, 0x000001d0, 0x000001e0, 0x00000200, 0x00020002,
47490x00000002, 0x0000021c, 0x0000022c, 0x62006273, 0xababab00, 0x00010000, 0x00010001, 0x00000001,
47500x00000000, 0xab006276, 0x00010001, 0x00030001, 0x00000001, 0x00000000, 0x00000083, 0x00000088,
47510x00000098, 0x0000009c, 0x00000005, 0x00040001, 0x00020001, 0x000000ac, 0xffffffff, 0xffffffff,
47520x00000000, 0xffffffff, 0x00666273, 0x76006662, 0xab006662, 0x000000e0, 0x00000088, 0x000000e3,
47530x0000009c, 0x00000005, 0x00040001, 0x00020001, 0x000000e8, 0x3f800000, 0x00000000, 0x00000000,
47540x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x66006673, 0xababab00, 0x00030000,
47550x00010001, 0x00000001, 0x00000000, 0xab006676, 0x00030001, 0x00030001, 0x00000001, 0x00000000,
47560x0000012b, 0x00000130, 0x00000140, 0x00000144, 0x00000005, 0x00040001, 0x00020001, 0x00000154,
47570x3f8ccccd, 0x00000000, 0x00000000, 0x00000000, 0x400ccccd, 0x40533333, 0x408ccccd, 0x00000000,
47580x6e006e73, 0xababab00, 0x00020000, 0x00010001, 0x00000001, 0x00000000, 0xab006e76, 0x00020001,
47590x00030001, 0x00000001, 0x00000000, 0x00000197, 0x0000019c, 0x000001ac, 0x000001b0, 0x00000005,
47600x00040001, 0x00020001, 0x000001c0, 0x0000000b, 0x00000000, 0x00000001, 0x00000000, 0x0000000c,
47610x0000000d, 0x0000000e, 0x00000000, 0x00666e73, 0x7600666e, 0xab00666e, 0x00000204, 0x0000019c,
47620x00000207, 0x000001b0, 0x00000005, 0x00040001, 0x00020001, 0x0000020c, 0x41f80000, 0x00000000,
47630x00000000, 0x00000000, 0x42000000, 0x42040000, 0x42080000, 0x00000000, 0x335f7376, 0x4d00305f,
47640x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970,
47650x2e392072, 0x392e3932, 0x332e3235, 0x00313131, 0x05000051, 0xa00f0006, 0x00000000, 0x00000000,
47660x00000000, 0x00000000, 0x0200001f, 0x80000000, 0x900f0000, 0x0200001f, 0x80000000, 0xe00f0000,
47670x01000028, 0xe0e40803, 0x03000005, 0x80010000, 0xa0000001, 0x90aa0000, 0x02000001, 0x80010001,
47680xa0000006, 0x01000026, 0xf0e40000, 0x04000004, 0x80010001, 0x80000000, 0xa0aa0003, 0x80000001,
47690x00000027, 0x02000001, 0x80020001, 0xa0000006, 0x0000002a, 0x03000005, 0x80010000, 0xa0aa0001,
47700x90550000, 0x02000001, 0x80020001, 0xa0000006, 0x01000026, 0xf0e40003, 0x04000004, 0x80020001,
47710x80000000, 0xa0550005, 0x80550001, 0x00000027, 0x02000001, 0x80010001, 0xa0000006, 0x0000002b,
47720x02000001, 0xe0030000, 0x80e40001, 0x02000001, 0xe00c0000, 0xa0000006, 0x0000ffff,
4777 {
"sf", {
"sf",
D3DXRS_FLOAT4, 0, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 93},
4778 {
"sf.f", {
"f",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 93},
4779 {
"sf.vf", {
"vf",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 97},
4789 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x40a00000, 0x00000000}},
4792 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
4795 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
4798 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
4800 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
4803 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
4805 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
4808 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
4810 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4813 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4816 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4819 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4824 {
"sn", {
"sn",
D3DXRS_INT4, 0, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 120},
4825 {
"sn.n", {
"n",
D3DXRS_INT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 120},
4826 {
"sn.vn", {
"vn",
D3DXRS_INT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 124},
4836 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000004, 0x00000005, 0x00000000}},
4839 {0x00000001, 0x00000000, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000}},
4842 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
4845 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000004, 0x00000005, 0x00000000}},
4847 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
4850 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
4852 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
4855 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
4857 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4860 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4863 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4866 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4871 {
"sb", {
"sb",
D3DXRS_BOOL, 0, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 51},
4872 {
"sb.b", {
"b",
D3DXRS_BOOL, 0, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 51},
4873 {
"sb.vb", {
"vb",
D3DXRS_BOOL, 1, 3,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 52},
4883 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4886 {0x00000002, 0x00000003, 0x00000004, 0x00000005}},
4889 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
4892 {0x00000002, 0x00000003, 0x00000004, 0x00000005}},
4894 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
4897 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
4899 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
4902 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
4904 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4907 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4910 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
4913 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
4918 {
"snf", {
"snf",
D3DXRS_FLOAT4, 2, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 139},
4919 {
"snf.nf", {
"nf",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 139},
4920 {
"snf.vnf", {
"vnf",
D3DXRS_FLOAT4, 3, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 143},
4930 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x40a00000, 0x00000000}},
4933 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
4936 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
4939 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x40a00000, 0x00000000}},
4941 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
4944 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
4946 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
4949 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
4951 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4954 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4957 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4960 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
4965 {
"sbf", {
"sbf",
D3DXRS_FLOAT4, 4, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 66},
4966 {
"sbf.bf", {
"bf",
D3DXRS_FLOAT4, 4, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 66},
4967 {
"sbf.vbf", {
"vbf",
D3DXRS_FLOAT4, 5, 1,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 70},
4977 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
4980 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
4983 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
4986 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
4988 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
4991 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
4993 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
4996 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
4998 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5001 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5004 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5007 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5014struct {
bool b; bool3 vb;} sab[2] = {1, 1, 0, 1, 0, 1, 0, 1};
5015struct {
int n;
int3 vn;} san[2] = {21, 22, 23, 24, 25, 26, 27, 28};
5016struct {
float f; float3 vf;} saf[2] = {1.1f, 2.1f, 3.1f, 4.1f, 5.1f, 6.1f, 7.1f, 8.1f};
5017struct {
int nf;
int3 vnf;} sanf[2] = {41, 0, 43, 44, 41, 42, 43, 44};
5018struct {
bool bf; bool3 vbf;} sabf[2] = {1, 0, 0, 1, 1, 1, 0, 1};
5023 if (sab[1].vb.z)
for (
i = 0;
i < san[1].n;
i++) tmp.x +=
pos.z * saf[1].vf.x * sanf[1].vnf.z;
5024 else for (
i = 0;
i < san[1].vn.z;
i++) tmp.y +=
pos.y * saf[1].vf.z * sabf[1].vbf.y;
50300xfffe0300, 0x00c6fffe, 0x42415443, 0x0000001c, 0x000002e3, 0xfffe0300, 0x00000005, 0x0000001c,
50310x00000100, 0x000002dc, 0x00000080, 0x00000000, 0x00000008, 0x000000bc, 0x000000cc, 0x000000ec,
50320x00080002, 0x00000004, 0x00000108, 0x00000118, 0x00000158, 0x00000002, 0x00000004, 0x00000194,
50330x000001a4, 0x000001e4, 0x00000001, 0x00000008, 0x00000220, 0x00000230, 0x00000270, 0x00040002,
50340x00000004, 0x0000028c, 0x0000029c, 0x00626173, 0xabab0062, 0x00010000, 0x00010001, 0x00000001,
50350x00000000, 0xab006276, 0x00010001, 0x00030001, 0x00000001, 0x00000000, 0x00000084, 0x00000088,
50360x00000098, 0x0000009c, 0x00000005, 0x00040001, 0x00020002, 0x000000ac, 0xffffffff, 0xffffffff,
50370x00000000, 0xffffffff, 0x00000000, 0xffffffff, 0x00000000, 0xffffffff, 0x66626173, 0x00666200,
50380x00666276, 0x000000f1, 0x00000088, 0x000000f4, 0x0000009c, 0x00000005, 0x00040001, 0x00020002,
50390x000000f8, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000,
50400x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000,
50410x00000000, 0x00666173, 0xabab0066, 0x00030000, 0x00010001, 0x00000001, 0x00000000, 0xab006676,
50420x00030001, 0x00030001, 0x00000001, 0x00000000, 0x0000015c, 0x00000160, 0x00000170, 0x00000174,
50430x00000005, 0x00040001, 0x00020002, 0x00000184, 0x3f8ccccd, 0x00000000, 0x00000000, 0x00000000,
50440x40066666, 0x40466666, 0x40833333, 0x00000000, 0x40a33333, 0x00000000, 0x00000000, 0x00000000,
50450x40c33333, 0x40e33333, 0x4101999a, 0x00000000, 0x006e6173, 0xabab006e, 0x00020000, 0x00010001,
50460x00000001, 0x00000000, 0xab006e76, 0x00020001, 0x00030001, 0x00000001, 0x00000000, 0x000001e8,
50470x000001ec, 0x000001fc, 0x00000200, 0x00000005, 0x00040001, 0x00020002, 0x00000210, 0x00000015,
50480x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000017, 0x00000018, 0x00000000, 0x00000019,
50490x00000000, 0x00000001, 0x00000000, 0x0000001a, 0x0000001b, 0x0000001c, 0x00000000, 0x666e6173,
50500x00666e00, 0x00666e76, 0x00000275, 0x000001ec, 0x00000278, 0x00000200, 0x00000005, 0x00040001,
50510x00020002, 0x0000027c, 0x42240000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x422c0000,
50520x42300000, 0x00000000, 0x42240000, 0x00000000, 0x00000000, 0x00000000, 0x42280000, 0x422c0000,
50530x42300000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820,
50540x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131,
50550x05000051, 0xa00f000c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000,
50560x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x01000028, 0xe0e40807, 0x03000005, 0x80010000,
50570xa0000003, 0x90aa0000, 0x02000001, 0x80010001, 0xa000000c, 0x01000026, 0xf0e40004, 0x04000004,
50580x80010001, 0x80000000, 0xa0aa0007, 0x80000001, 0x00000027, 0x02000001, 0x80020001, 0xa000000c,
50590x0000002a, 0x03000005, 0x80010000, 0xa0aa0003, 0x90550000, 0x02000001, 0x80020001, 0xa000000c,
50600x01000026, 0xf0e40007, 0x04000004, 0x80020001, 0x80000000, 0xa055000b, 0x80550001, 0x00000027,
50610x02000001, 0x80010001, 0xa000000c, 0x0000002b, 0x02000001, 0xe0030000, 0x80e40001, 0x02000001,
50620xe00c0000, 0xa000000c, 0x0000ffff,
5067 {
"saf", {
"saf",
D3DXRS_FLOAT4, 0, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 2, 2, 32,
NULL}, 105},
5068 {
"saf[0]", {
"saf",
D3DXRS_FLOAT4, 0, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 105},
5069 {
"saf[0].f", {
"f",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 105},
5070 {
"saf[0].vf", {
"vf",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 109},
5071 {
"saf[1]", {
"saf",
D3DXRS_FLOAT4, 2, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 113},
5072 {
"saf[1].f", {
"f",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 113},
5073 {
"saf[1].vf", {
"vf",
D3DXRS_FLOAT4, 3, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 117},
5083 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x40a00000, 0x00000000}},
5085 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x41000000, 0x41100000, 0x00000000}},
5088 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5090 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5093 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
5095 {0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x41000123, 0x41100123, 0x00000000}},
5098 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
5100 {0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x41000123, 0x41100123, 0x00000000}},
5102 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
5105 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800123, 0x40a00123, 0x00000000}},
5107 {0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x41000123, 0x41100123, 0x00000000}},
5109 {0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x41000123, 0x41100123, 0x00000000}},
5112 {0x40c00123, 0x00000000, 0x00000000, 0x00000000, 0x40e00123, 0x41000123, 0x41100123, 0x00000000}},
5114 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5117 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5126 {
"san", {
"san",
D3DXRS_INT4, 0, 8,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 2, 2, 32,
NULL}, 140},
5127 {
"san[0]", {
"san",
D3DXRS_INT4, 0, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 140},
5128 {
"san[0].n", {
"n",
D3DXRS_INT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 140},
5129 {
"san[0].vn", {
"vn",
D3DXRS_INT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 144},
5130 {
"san[1]", {
"san",
D3DXRS_INT4, 2, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 148},
5131 {
"san[1].n", {
"n",
D3DXRS_INT4, 2, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 148},
5132 {
"san[1].vn", {
"vn",
D3DXRS_INT4, 3, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 152},
5142 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000004, 0x00000005, 0x00000000}},
5144 {0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000007, 0x00000008, 0x00000009, 0x00000000}},
5147 {0x00000001, 0x00000000, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000}},
5149 {0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000}},
5152 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
5154 {0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000007, 0x00000008, 0x00000009, 0x00000000}},
5157 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000004, 0x00000005, 0x00000000}},
5159 {0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000007, 0x00000008, 0x00000009, 0x00000000}},
5161 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
5164 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000}},
5166 {0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000007, 0x00000008, 0x00000009, 0x00000000}},
5168 {0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000007, 0x00000008, 0x00000009, 0x00000000},},
5171 {0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000007, 0x00000008, 0x00000009, 0x00000000}},
5173 {0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5176 {0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5179 {0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5182 {0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5187 {
"sab", {
"sab",
D3DXRS_BOOL, 0, 8,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 2, 2, 32,
NULL}, 51},
5188 {
"sab[0]", {
"sab",
D3DXRS_BOOL, 0, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 51},
5189 {
"sab[0].b", {
"b",
D3DXRS_BOOL, 0, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 51},
5190 {
"sab[0].vb", {
"vb",
D3DXRS_BOOL, 1, 3,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 52},
5191 {
"sab[1]", {
"sab",
D3DXRS_BOOL, 4, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 55},
5192 {
"sab[1].b", {
"b",
D3DXRS_BOOL, 4, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 55},
5193 {
"sab[1].vb", {
"vb",
D3DXRS_BOOL, 5, 3,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 56},
5203 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5205 {0x00000000, 0x00000001, 0x00000001, 0x00000001}},
5208 {0x00000002, 0x00000003, 0x00000004, 0x00000005}},
5210 {0x00000000, 0x00000007, 0x00000008, 0x00000009}},
5213 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
5215 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5218 {0x00000002, 0x00000003, 0x00000004, 0x00000005}},
5220 {0x00000000, 0x00000007, 0x00000008, 0x00000009}},
5222 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
5225 {0x00000001, 0x00000000, 0x00000001, 0x00000001}},
5227 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5229 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5232 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5234 {0x00000000, 0x00000001, 0x00000001, 0x00000001}},
5237 {0x00000000, 0x00000001, 0x00000001, 0x00000001}},
5240 {0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5243 {0x00000000, 0x00000001, 0x00000001, 0x00000001}},
5248 {
"sanf", {
"sanf",
D3DXRS_FLOAT4, 4, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 2, 2, 32,
NULL}, 167},
5249 {
"sanf[0]", {
"sanf",
D3DXRS_FLOAT4, 4, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 167},
5250 {
"sanf[0].nf", {
"nf",
D3DXRS_FLOAT4, 4, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 167},
5251 {
"sanf[0].vnf", {
"vnf",
D3DXRS_FLOAT4, 5, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 171},
5252 {
"sanf[1]", {
"sanf",
D3DXRS_FLOAT4, 6, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 175},
5253 {
"sanf[1].nf", {
"nf",
D3DXRS_FLOAT4, 6, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 175},
5254 {
"sanf[1].vnf", {
"vnf",
D3DXRS_FLOAT4, 7, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 179},
5264 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x40a00000, 0x00000000}},
5266 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x41000000, 0x41100000, 0x00000000}},
5269 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5271 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5274 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
5276 {0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x41000000, 0x41100000, 0x00000000}},
5279 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x40a00000, 0x00000000}},
5281 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x41000000, 0x41100000, 0x00000000}},
5283 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
5286 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800000, 0x40a00000, 0x00000000}},
5288 {0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x41000000, 0x41100000, 0x00000000}},
5290 {0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x41000000, 0x41100000, 0x00000000}},
5293 {0x40c00000, 0x00000000, 0x00000000, 0x00000000, 0x40e00000, 0x41000000, 0x41100000, 0x00000000}},
5295 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5298 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5307 {
"sabf", {
"sabf",
D3DXRS_FLOAT4, 8, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 2, 2, 32,
NULL}, 70},
5308 {
"sabf[0]", {
"sabf",
D3DXRS_FLOAT4, 8, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 70},
5309 {
"sabf[0].bf", {
"bf",
D3DXRS_FLOAT4, 8, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 70},
5310 {
"sabf[0].vbf", {
"vbf",
D3DXRS_FLOAT4, 9, 1,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 74},
5311 {
"sabf[1]", {
"sabf",
D3DXRS_FLOAT4, 10, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 78},
5312 {
"sabf[1].bf", {
"bf",
D3DXRS_FLOAT4, 10, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 78},
5313 {
"sabf[1].vbf", {
"vbf",
D3DXRS_FLOAT4, 11, 1,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 82},
5323 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5325 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5328 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5330 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5333 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
5335 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5338 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5340 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5342 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
5345 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000}},
5347 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5349 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5352 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000}},
5354 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5357 {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}},
5368struct {
bool b;
struct {
bool b; bool3 vb;}
s;
bool b1;} ssb = {1, 1, 0, 1, 1, 0};
5369struct {
int n;
struct {
int n;
int3 vn;}
s;
int n1;} ssn = {71, 72, 73, 74, 75, 76};
5370struct {
float f;
struct {
float f; float3 vf;}
s;
float f1;} ssf = {1.1f, 2.1f, 3.1f, 4.1f, 5.1f, 6.1f};
5371struct {
int nf;
struct {
int nf;
int3 vnf;}
s;
int nf1;} ssnf = {41, 0, 43, 44, 41, 42};
5372struct {
bool bf;
struct {
bool bf; bool3 vbf;}
s;
bool bf1;} ssbf = {1, 0, 0, 1, 1, 0};
5377 if (ssb.b1)
for (
i = 0;
i < ssn.n1;
i++) tmp.x +=
pos.z * ssf.f1 * ssnf.nf1;
5378 else for (
i = 0;
i < ssn.s.vn.z;
i++) tmp.y +=
pos.y * ssf.s.vf.z * ssbf.bf1;
53840xfffe0300, 0x00fcfffe, 0x42415443, 0x0000001c, 0x000003bb, 0xfffe0300, 0x00000005, 0x0000001c,
53850x00000100, 0x000003b4, 0x00000080, 0x00000000, 0x00000006, 0x000000ec, 0x000000fc, 0x00000114,
53860x00080002, 0x00000004, 0x0000015c, 0x0000016c, 0x000001ac, 0x00000002, 0x00000004, 0x00000214,
53870x00000224, 0x00000264, 0x00000001, 0x00000006, 0x000002cc, 0x000002dc, 0x0000031c, 0x00040002,
53880x00000004, 0x00000364, 0x00000374, 0x00627373, 0xabab0062, 0x00010000, 0x00010001, 0x00000001,
53890x00000000, 0x62760073, 0xababab00, 0x00010001, 0x00030001, 0x00000001, 0x00000000, 0x00000084,
53900x00000088, 0x0000009a, 0x000000a0, 0x00000005, 0x00040001, 0x00020001, 0x000000b0, 0xab003162,
53910x00000084, 0x00000088, 0x00000098, 0x000000c0, 0x000000d0, 0x00000088, 0x00000005, 0x00060001,
53920x00030001, 0x000000d4, 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
53930x66627373, 0x00666200, 0x00666276, 0x00000119, 0x00000088, 0x0000011c, 0x000000a0, 0x00000005,
53940x00040001, 0x00020001, 0x00000120, 0x00316662, 0x00000119, 0x00000088, 0x00000098, 0x00000130,
53950x00000140, 0x00000088, 0x00000005, 0x00060001, 0x00030001, 0x00000144, 0x3f800000, 0x00000000,
53960x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000,
53970x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00667373, 0xabab0066,
53980x00030000, 0x00010001, 0x00000001, 0x00000000, 0xab006676, 0x00030001, 0x00030001, 0x00000001,
53990x00000000, 0x000001b0, 0x000001b4, 0x000001c4, 0x000001c8, 0x00000005, 0x00040001, 0x00020001,
54000x000001d8, 0xab003166, 0x000001b0, 0x000001b4, 0x00000098, 0x000001e8, 0x000001f8, 0x000001b4,
54010x00000005, 0x00060001, 0x00030001, 0x000001fc, 0x3f8ccccd, 0x00000000, 0x00000000, 0x00000000,
54020x40066666, 0x00000000, 0x00000000, 0x00000000, 0x40466666, 0x40833333, 0x40a33333, 0x00000000,
54030x40c33333, 0x00000000, 0x00000000, 0x00000000, 0x006e7373, 0xabab006e, 0x00020000, 0x00010001,
54040x00000001, 0x00000000, 0xab006e76, 0x00020001, 0x00030001, 0x00000001, 0x00000000, 0x00000268,
54050x0000026c, 0x0000027c, 0x00000280, 0x00000005, 0x00040001, 0x00020001, 0x00000290, 0xab00316e,
54060x00000268, 0x0000026c, 0x00000098, 0x000002a0, 0x000002b0, 0x0000026c, 0x00000005, 0x00060001,
54070x00030001, 0x000002b4, 0x00000047, 0x00000000, 0x00000001, 0x00000000, 0x00000048, 0x00000000,
54080x00000001, 0x00000000, 0x00000049, 0x0000004a, 0x0000004b, 0x00000000, 0x0000004c, 0x00000000,
54090x00000001, 0x00000000, 0x666e7373, 0x00666e00, 0x00666e76, 0x00000321, 0x0000026c, 0x00000324,
54100x00000280, 0x00000005, 0x00040001, 0x00020001, 0x00000328, 0x0031666e, 0x00000321, 0x0000026c,
54110x00000098, 0x00000338, 0x00000348, 0x0000026c, 0x00000005, 0x00060001, 0x00030001, 0x0000034c,
54120x42240000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
54130x422c0000, 0x42300000, 0x42240000, 0x00000000, 0x42280000, 0x00000000, 0x00000000, 0x00000000,
54140x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c, 0x72656461,
54150x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131, 0x05000051, 0xa00f000c,
54160x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000, 0x900f0000, 0x0200001f,
54170x80000000, 0xe00f0000, 0x01000028, 0xe0e40805, 0x03000005, 0x80010000, 0xa0000003, 0x90aa0000,
54180x02000001, 0x80010001, 0xa000000c, 0x01000026, 0xf0e40005, 0x04000004, 0x80010001, 0x80000000,
54190xa0000007, 0x80000001, 0x00000027, 0x02000001, 0x80020001, 0xa000000c, 0x0000002a, 0x03000005,
54200x80010000, 0xa0aa0002, 0x90550000, 0x02000001, 0x80020001, 0xa000000c, 0x01000026, 0xf0e40004,
54210x04000004, 0x80020001, 0x80000000, 0xa000000b, 0x80550001, 0x00000027, 0x02000001, 0x80010001,
54220xa000000c, 0x0000002b, 0x02000001, 0xe0030000, 0x80e40001, 0x02000001, 0xe00c0000, 0xa000000c,
5428 {
"ssf", {
"ssf",
D3DXRS_FLOAT4, 0, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 6, 1, 3, 24,
NULL}, 137},
5429 {
"ssf.f", {
"f",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 137},
5430 {
"ssf.s", {
"s",
D3DXRS_FLOAT4, 1, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 141},
5431 {
"ssf.s.f", {
"f",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 141},
5432 {
"ssf.s.vf", {
"vf",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 145},
5433 {
"ssf.f1", {
"f1",
D3DXRS_FLOAT4, 3, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 149},
5443 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x00000000, 0x00000000, 0x00000000,
5444 0x40800000, 0x40a00000, 0x00000000, 0x00000000, 0x40e00000}},
5447 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
5448 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000}},
5451 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5452 0x40800123, 0x40a00123, 0x40c00123, 0x00000000, 0x40e00123}},
5455 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5456 0x40800123, 0x40a00123, 0x40c00123, 0x00000000, 0x40e00123}},
5460 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5461 0x40800123, 0x40a00123, 0x40c00123, 0x00000000, 0x40e00123}},
5463 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5464 0x40800123, 0x40a00123, 0x40c00123, 0x00000000, 0x40e00123}},
5467 {0x40000123, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5468 0x40800123, 0x40a00123, 0x40c00123, 0x00000000, 0x40e00123}},
5480 {
"ssn", {
"ssn",
D3DXRS_INT4, 0, 6,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 6, 1, 3, 24,
NULL}, 183},
5481 {
"ssn.n", {
"n",
D3DXRS_INT4, 0, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 183},
5482 {
"ssn.s", {
"s",
D3DXRS_INT4, 1, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 187},
5483 {
"ssn.s.n", {
"n",
D3DXRS_INT4, 1, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 187},
5484 {
"ssn.s.vn", {
"vn",
D3DXRS_INT4, 2, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 191},
5485 {
"ssn.n1", {
"n1",
D3DXRS_INT4, 3, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 195},
5495 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000000, 0x00000001, 0x00000000,
5496 0x00000004, 0x00000005, 0x00000000, 0x00000000, 0x00000007, 0x00000000, 0x00000001}},
5499 {0x00000001, 0x00000000, 0x00000001, 0x00000000, 0x00000001, 0x00000000, 0x00000001, 0x00000000,
5500 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000001}},
5503 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5504 0x00000004, 0x00000005, 0x00000006, 0x00000000, 0x00000007, 0x00000000, 0x00000001}},
5507 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000003, 0x00000000, 0x00000001, 0x00000000,
5508 0x00000004, 0x00000005, 0x00000000, 0x00000000, 0x00000007, 0x00000000, 0x00000001}},
5512 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5513 0x00000004, 0x00000005, 0x00000006, 0x00000000, 0x00000007, 0x00000000, 0x00000001}},
5515 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5516 0x00000004, 0x00000005, 0x00000006, 0x00000000, 0x00000007, 0x00000000, 0x00000001}},
5519 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5520 0x00000004, 0x00000005, 0x00000006, 0x00000000, 0x00000007, 0x00000000, 0x00000001}},
5522 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5523 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
5526 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5527 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
5530 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5531 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
5534 {0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
5535 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001}},
5540 {
"ssb", {
"ssb",
D3DXRS_BOOL, 0, 6,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 6, 1, 3, 24,
NULL}, 63},
5541 {
"ssb.b", {
"b",
D3DXRS_BOOL, 0, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 63},
5542 {
"ssb.s", {
"s",
D3DXRS_BOOL, 1, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 64},
5543 {
"ssb.s.b", {
"b",
D3DXRS_BOOL, 1, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 64},
5544 {
"ssb.s.vb", {
"vb",
D3DXRS_BOOL, 2, 3,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 65},
5545 {
"ssb.b1", {
"b1",
D3DXRS_BOOL, 5, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 68},
5555 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
5558 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
5561 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5564 {0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000007}},
5568 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5570 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5573 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5575 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
5578 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
5581 {0x00000001, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000001}},
5584 {0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000001}},
5589 {
"ssnf", {
"ssnf",
D3DXRS_FLOAT4, 4, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 6, 1, 3, 24,
NULL}, 221},
5590 {
"ssnf.nf", {
"nf",
D3DXRS_FLOAT4, 4, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 221},
5591 {
"ssnf.s", {
"s",
D3DXRS_FLOAT4, 5, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 225},
5592 {
"ssnf.s.nf", {
"nf",
D3DXRS_FLOAT4, 5, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 225},
5593 {
"ssnf.s.vnf", {
"vnf",
D3DXRS_FLOAT4, 6, 1,
D3DXPC_VECTOR,
D3DXPT_INT, 1, 3, 1, 0, 12,
NULL}, 229},
5594 {
"ssnf.nf1", {
"nf1",
D3DXRS_FLOAT4, 7, 1,
D3DXPC_SCALAR,
D3DXPT_INT, 1, 1, 1, 0, 4,
NULL}, 233},
5604 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x00000000, 0x00000000, 0x00000000,
5605 0x40800000, 0x40a00000, 0x00000000, 0x00000000, 0x40e00000}},
5608 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
5609 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000}},
5612 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5613 0x40800000, 0x40a00000, 0x40c00000, 0x00000000, 0x40e00000}},
5616 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x40400000, 0x00000000, 0x00000000, 0x00000000,
5617 0x40800000, 0x40a00000, 0x00000000, 0x00000000, 0x40e00000}},
5621 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5622 0x40800000, 0x40a00000, 0x40c00000, 0x00000000, 0x40e00000}},
5624 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5625 0x40800000, 0x40a00000, 0x40c00000, 0x00000000, 0x40e00000}},
5628 {0x40000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5629 0x40800000, 0x40a00000, 0x40c00000, 0x00000000, 0x40e00000}},
5641 {
"ssbf", {
"ssbf",
D3DXRS_FLOAT4, 8, 4,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 6, 1, 3, 24,
NULL}, 91},
5642 {
"ssbf.bf", {
"bf",
D3DXRS_FLOAT4, 8, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 91},
5643 {
"ssbf.s", {
"s",
D3DXRS_FLOAT4, 9, 2,
D3DXPC_STRUCT,
D3DXPT_VOID, 1, 4, 1, 2, 16,
NULL}, 95},
5644 {
"ssbf.s.bf", {
"bf",
D3DXRS_FLOAT4, 9, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 95},
5645 {
"ssbf.s.vbf", {
"vbf",
D3DXRS_FLOAT4, 10, 1,
D3DXPC_VECTOR,
D3DXPT_BOOL, 1, 3, 1, 0, 12,
NULL}, 99},
5646 {
"ssbf.bf1", {
"bf1",
D3DXRS_FLOAT4, 11, 1,
D3DXPC_SCALAR,
D3DXPT_BOOL, 1, 1, 1, 0, 4,
NULL}, 103},
5656 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
5657 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000}},
5660 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
5661 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000}},
5664 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5665 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000}},
5668 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000,
5669 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000}},
5673 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5674 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000}},
5676 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5677 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000}},
5680 {0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5681 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000}},
5695row_major int3x2 ran[2] = {4, 5, 6, 1, 8, 1, 2, 3, 4, 7, 9, 1};
5700 for (
k = 0;
k < ran[1]._21;
k++)
5701 tmp.y +=
pos.y + tmp.x;
57070xfffe0300, 0x0038fffe, 0x42415443, 0x0000001c, 0x000000ab, 0xfffe0300, 0x00000001, 0x0000001c,
57080x00000100, 0x000000a4, 0x00000030, 0x00000001, 0x00000009, 0x00000034, 0x00000044, 0x006e6172,
57090x00020002, 0x00020003, 0x00000002, 0x00000000, 0x00000004, 0x00000005, 0x00000001, 0x00000000,
57100x00000006, 0x00000001, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000000,
57110x00000002, 0x00000003, 0x00000001, 0x00000000, 0x00000004, 0x00000007, 0x00000001, 0x00000000,
57120x00000009, 0x00000001, 0x00000001, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73,
57130x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932,
57140x332e3235, 0x00313131, 0x05000051, 0xa00f0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
57150x0200001f, 0x80000000, 0x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x02000001, 0x80010000,
57160xa0000000, 0x01000026, 0xf0e40008, 0x03000002, 0x80010000, 0x80000000, 0x90550000, 0x00000027,
57170x02000001, 0xe0020000, 0x80000000, 0x02000001, 0xe00d0000, 0xa0000000, 0x0000ffff,
5722 {
"ran", {
"ran",
D3DXRS_INT4, 0, 9,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 2, 0, 48,
NULL}, 17},
5723 {
"ran[0]", {
"ran",
D3DXRS_INT4, 0, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 17},
5724 {
"ran[1]", {
"ran",
D3DXRS_INT4, 3, 3,
D3DXPC_MATRIX_ROWS,
D3DXPT_INT, 3, 2, 1, 0, 24,
NULL}, 29},
5735 tmp.y +=
pos.y + vaf[8].x;
57410xfffe0300, 0x0020fffe, 0x42415443, 0x0000001c, 0x0000004b, 0xfffe0300, 0x00000001, 0x0000001c,
57420x00000100, 0x00000044, 0x00000030, 0x00000002, 0x00000009, 0x00000034, 0x00000000, 0x00666176,
57430x00030001, 0x00030001, 0x0000000a, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73,
57440x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932,
57450x332e3235, 0x00313131, 0x05000051, 0xa00f0009, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
57460x0200001f, 0x80000000, 0x900f0000, 0x0200001f, 0x80000000, 0xe00f0000, 0x03000002, 0xe0020000,
57470xa0000008, 0x90550000, 0x02000001, 0xe00d0000, 0xa0000009, 0x0000ffff,
5752 {
"vaf", {
"vaf",
D3DXRS_FLOAT4, 0, 9,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 10, 0, 120,
NULL}, 0},
5753 {
"vaf[0]", {
"vaf",
D3DXRS_FLOAT4, 0, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5754 {
"vaf[1]", {
"vaf",
D3DXRS_FLOAT4, 1, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5755 {
"vaf[2]", {
"vaf",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5756 {
"vaf[3]", {
"vaf",
D3DXRS_FLOAT4, 3, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5757 {
"vaf[4]", {
"vaf",
D3DXRS_FLOAT4, 4, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5758 {
"vaf[5]", {
"vaf",
D3DXRS_FLOAT4, 5, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5759 {
"vaf[6]", {
"vaf",
D3DXRS_FLOAT4, 6, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5760 {
"vaf[7]", {
"vaf",
D3DXRS_FLOAT4, 7, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5761 {
"vaf[8]", {
"vaf",
D3DXRS_FLOAT4, 8, 1,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5762 {
"vaf[9]", {
"vaf",
D3DXRS_FLOAT4, 9, 0,
D3DXPC_VECTOR,
D3DXPT_FLOAT, 1, 3, 1, 0, 12,
NULL}, 0},
5768 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
5769 0x41200123, 0x41300123, 0x41400123, 0x00000000, 0x41600123, 0x41700123, 0x41800123}},
5772 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
5773 0x41200123, 0x41300123, 0x41400123, 0x00000000, 0x41600123, 0x41700123, 0x41800123}},
5775 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
5776 0x41200123, 0x41300123, 0x41400123, 0x00000000, 0x41600123, 0x41700123, 0x41800123, 0x00000000,
5777 0x41a00123, 0x41b00123, 0x41c00123, 0x00000000, 0x00000000, 0x41f00123, 0x42000123, 0x00000000,
5778 0x00000000, 0x42300123, 0x42400123, 0x00000000, 0x42600123, 0x42700123, 0x42800123}},
5780 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
5781 0x41200123, 0x41300123, 0x41400123, 0x00000000, 0x41600123, 0x41700123, 0x41800123, 0x00000000,
5782 0x41a00123, 0x41b00123, 0x41c00123, 0x00000000, 0x00000000, 0x41f00123, 0x42000123, 0x00000000,
5783 0x00000000, 0x42300123, 0x42400123, 0x00000000, 0x42600123, 0x42700123, 0x42800123, 0x00000000,
5784 0x43000123, 0x43100123, 0x43200123}},
5786 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
5787 0x40800123, 0x41000123, 0x41400123, 0x00000000, 0x40a00123, 0x41100123, 0x41500123}},
5790 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
5791 0x40800123, 0x41000123, 0x41400123, 0x00000000, 0x40a00123, 0x41100123, 0x41500123}},
5793 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
5794 0x40800123, 0x41000123, 0x41400123, 0x00000000, 0x40a00123, 0x41100123, 0x41500123, 0x00000000,
5795 0x41a00123, 0x00000000, 0x00000000, 0x00000000, 0x41b00123, 0x41f00123, 0x42300123, 0x00000000,
5796 0x41c00123, 0x42000123, 0x42400123, 0x00000000, 0x41d00123, 0x42100123, 0x42500123}},
5798 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
5799 0x40800123, 0x41000123, 0x41400123, 0x00000000, 0x40a00123, 0x41100123, 0x41500123, 0x00000000,
5800 0x41a00123, 0x00000000, 0x00000000, 0x00000000, 0x41b00123, 0x41f00123, 0x42300123, 0x00000000,
5801 0x41c00123, 0x42000123, 0x42400123, 0x00000000, 0x41d00123, 0x42100123, 0x42500123, 0x00000000,
5802 0x43000123, 0x43400123, 0x43800123}},
5805 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
5806 0x41200123, 0x41300123, 0x41400123, 0x00000000, 0x41600123, 0x41700123, 0x41800123}},
5808 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
5809 0x41200123, 0x41300123, 0x41400123, 0x00000000, 0x41600123, 0x41700123, 0x41800123, 0x00000000,
5810 0x41900123, 0x41a00123, 0x41b00123, 0x00000000, 0x41d00123, 0x00000000, 0x41f00123, 0x00000000,
5811 0x42100123, 0x00000000, 0x42300123, 0x00000000, 0x42500123, 0x42600123, 0x42700123}},
5813 {0x40000123, 0x00000000, 0x40800123, 0x00000000, 0x40c00123, 0x40e00123, 0x41000123, 0x00000000,
5814 0x41200123, 0x41300123, 0x41400123, 0x00000000, 0x41600123, 0x41700123, 0x41800123, 0x00000000,
5815 0x41900123, 0x41a00123, 0x41b00123, 0x00000000, 0x41d00123, 0x00000000, 0x41f00123, 0x00000000,
5816 0x42100123, 0x00000000, 0x42300123, 0x00000000, 0x42500123, 0x42600123, 0x42700123, 0x00000000,
5817 0x42800123, 0x42900123, 0x43000123}},
5820 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
5821 0x40800123, 0x41000123, 0x41400123, 0x00000000, 0x40a00123, 0x41100123, 0x41500123}},
5823 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
5824 0x40800123, 0x41000123, 0x41400123, 0x00000000, 0x40a00123, 0x41100123, 0x41500123, 0x00000000,
5825 0x41900123, 0x41d00123, 0x42100123, 0x00000000, 0x41a00123, 0x00000000, 0x00000000, 0x00000000,
5826 0x41b00123, 0x41f00123, 0x42300123, 0x00000000, 0x41c00123, 0x42000123, 0x42400123}},
5828 {0x40000123, 0x40c00123, 0x41200123, 0x00000000, 0x00000000, 0x40e00123, 0x41300123, 0x00000000,
5829 0x40800123, 0x41000123, 0x41400123, 0x00000000, 0x40a00123, 0x41100123, 0x41500123, 0x00000000,
5830 0x41900123, 0x41d00123, 0x42100123, 0x00000000, 0x41a00123, 0x00000000, 0x00000000, 0x00000000,
5831 0x41b00123, 0x41f00123, 0x42300123, 0x00000000, 0x41c00123, 0x42000123, 0x42400123, 0x00000000,
5832 0x42800123, 0x43200123, 0x43600123}},
5839float4x4
cf = {1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8};
58510xfffe0300, 0x003efffe, 0x42415443, 0x0000001c, 0x000000c3, 0xfffe0300, 0x00000002, 0x0000001c,
58520x00000100, 0x000000bc, 0x00000044, 0x00000002, 0x00000002, 0x00000048, 0x00000058, 0x00000098,
58530x00020002, 0x00000001, 0x0000009c, 0x000000ac, 0xab006663, 0x00030003, 0x00040004, 0x00000001,
58540x00000000, 0x3f8ccccd, 0x40b00000, 0x411e6666, 0x3fc00000, 0x400ccccd, 0x40d33333, 0x3f99999a,
58550x3fcccccd, 0x40533333, 0x40f66666, 0x3fa66666, 0x3fd9999a, 0x408ccccd, 0x410ccccd, 0x3fb33333,
58560x3fe66666, 0xabab0066, 0x00030000, 0x00010001, 0x00000001, 0x00000000, 0x420551ec, 0x00000000,
58570x00000000, 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820,
58580x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131,
58590x05000051, 0xa00f0003, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x0200001f, 0x80000000,
58600xe00f0000, 0x02000001, 0x80020000, 0xa0550001, 0x03000005, 0xe00b0000, 0x80550000, 0xa0240003,
58610x02000001, 0xe0040000, 0xa0000002, 0x0000ffff,
5866 {
"cf", {
"cf",
D3DXRS_FLOAT4, 0, 2,
D3DXPC_MATRIX_COLUMNS,
D3DXPT_FLOAT, 4, 4, 1, 0, 64,
NULL}, 0},
5867 {
"f", {
"f",
D3DXRS_FLOAT4, 2, 1,
D3DXPC_SCALAR,
D3DXPT_FLOAT, 1, 1, 1, 0, 4,
NULL}, 0},
5873 {0x40000123, 0x40c00123, 0x41200123, 0x41600123, 0x00000000, 0x40e00123, 0x41300123, 0x41700123}},
6119 ok(
hr ==
D3D_OK,
"Get*ShaderConstantB failed, got %08lx\n",
hr);
6126 ok(
hr ==
D3D_OK,
"Get*ShaderConstantI failed, got %08lx\n",
hr);
6136 ok(
hr ==
D3D_OK,
"Get*ShaderConstantF failed, got %08lx\n",
hr);
6140 ok(0,
"This should not happen!\n");
6150 ok(
ret[
i] ==
value,
"Get*ShaderConstant failed, %u got 0x%lx(%f) expected 0x%lx(%f)\n",
i,
6224 ok(0,
"This should not happen!\n");
6242 skip(
"Couldn't create application window\n");
6247 skip(
"Couldn't create IDirect3D9 object\n");
6258 skip(
"Failed to create IDirect3DDevice9 object %#lx\n",
hr);
6269 skip(
"Skipping: Test requires VS >= 3 and PS >= 3.\n");
6280 ID3DXConstantTable *
ctable;
6288 ok(
hr ==
D3D_OK,
"D3DXGetShaderConstantTable \"%s\" failed, got %08lx, expected %08lx\n", tablename,
hr,
D3D_OK);
6291 ok(
hr ==
D3D_OK,
"GetDesc \"%s\" failed, got %08lx, expected %08lx\n", tablename,
hr,
D3D_OK);
6296 is_vs = (tdesc.
Version & 0xFFFF0000) == 0xFFFE0000;
6312 ok(!
strcmp(expected_desc->
Name,
desc.
Name),
"GetConstantDesc \"%s\" failed, got \"%s\", expected \"%s\"\n",
6314 ok(expected_desc->
RegisterSet ==
desc.RegisterSet,
"GetConstantDesc \"%s\" failed, got %#x, expected %#x\n",
6317 "GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6320 "GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6322 ok(expected_desc->
Class ==
desc.Class,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6324 ok(expected_desc->
Type ==
desc.Type,
"GetConstantDesc \"%s\" failed, got %#x, expected %#x\n",
6326 ok(expected_desc->
Rows ==
desc.Rows,
"GetConstantDesc \"%s\" failed, got %#x, expected %#x\n",
6328 ok(expected_desc->
Columns ==
desc.Columns,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6330 ok(expected_desc->
Elements ==
desc.Elements,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6333 "GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6335 ok(expected_desc->
Bytes ==
desc.Bytes,
"GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6340 "GetConstantDesc \"%s\" failed, got %u, expected %u\n",
6356 ok(
hr ==
D3D_OK,
"Set* \"%s\" index %u, count %u failed, got %lx, expected %lx\n", tablename,
i,
6361 ok(
ret == 0,
"Get*ShaderConstant \"%s\" index %u, count %u failed\n", tablename,
i,
test->in_count_min);
6363 if (
test->in_count_max >
test->in_count_min)
6368 ok(
hr ==
D3D_OK,
"Set* \"%s\" index %u, count %u failed, got %lx, expected %lx\n", tablename,
i,
6373 ok(
ret == 0,
"Get*ShaderConstant \"%s\" index %u, count %u failed\n", tablename,
i,
test->in_count_max);
6378 ok(
count == 0,
"Release \"%s\" failed, got %lu, expected %u\n", tablename,
count, 0);
6383 ok(
count == 0,
"The Direct3D device reference count was %lu, should be 0\n",
count);
6386 ok(
count == 0,
"The Direct3D object reference count was %lu, should be 0\n",
count);
6411 {0x40a33333, 0x00000000, 0x00000000, 0x00000000, 0x41300000, 0x00000000, 0x00000000, 0x00000000,
6412 0x3f800000, 0x00000000, 0x00000000, 0x00000000},
6413 {0x00000008, 0x00000000, 0x00000001},
6416 {0x40466666, 0x00000000, 0x00000000, 0x00000000, 0x404ccccd, 0x00000000, 0x00000000, 0x00000000,
6417 0x41600000, 0x00000000, 0x00000000, 0x00000000, 0x41700000, 0x00000000, 0x00000000, 0x00000000,
6418 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000},
6419 {0x00000020, 0x00000000, 0x00000001, 0x00000000, 0x00000021, 0x00000000, 0x00000001, 0x00000000},
6420 {0xffffffff, 0x00000000}},
6422 {0x40a33333, 0x40a66666, 0x40a9999a, 0x00000000, 0x41300000, 0x42aa0000, 0x42780000, 0x00000000,
6423 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000},
6424 {0x00000007, 0x00000008, 0x00000009, 0x00000000, 0x00666e76, 0x41300000, 0x42aa0000, 0x42780000,
6425 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369},
6426 {0xffffffff, 0x00000000, 0xffffffff}},
6428 {0x425c6666, 0x425ccccd, 0x425d3333, 0x00000000, 0x425d999a, 0x425e0000, 0x425e6666, 0x00000000,
6429 0x43020000, 0x430c0000, 0x43160000, 0x00000000, 0x43200000, 0x432a0000, 0x43340000, 0x00000000,
6430 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000},
6431 {0x00000046, 0x00000050, 0x0000005a, 0x00000000, 0x00000064, 0x0000006e, 0x00000078, 0x00000000,
6432 0x666e6176, 0xababab00, 0x00020001, 0x00030001, 0x00000002, 0x00000000, 0x43020000, 0x430c0000,
6433 0x43160000, 0x00000000, 0x43200000, 0x432a0000, 0x43340000, 0x00000000, 0x335f7376, 0x4d00305f},
6434 {0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff}},
6436 {0x4171999a, 0x4174cccd, 0x41780000, 0x00000000, 0x41733333, 0x41766666, 0x4179999a, 0x00000000,
6437 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
6438 0x41f00000, 0x42040000, 0x42080000, 0x00000000, 0x41f80000, 0x42000000, 0x42100000, 0x00000000},
6439 {0x00000004, 0x00000006, 0x00000008, 0x00000000, 0x00000005, 0x00000007, 0x00000009, 0x00000000,
6440 0x00666e63, 0x41f00000, 0x42040000, 0x42080000, 0x00000000, 0x41f80000, 0x42000000, 0x42100000,
6441 0x00000000, 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c},
6442 {0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff}},
6444 {0x3f8ccccd, 0x40533333, 0x40b00000, 0x00000000, 0x400ccccd, 0x408ccccd, 0x40d33333, 0x00000000,
6445 0x40f66666, 0x411e6666, 0x3fa66666, 0x00000000, 0x410ccccd, 0x3f99999a, 0x3fb33333, 0x00000000,
6446 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
6447 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
6448 0x43960000, 0x43978000, 0x43980000, 0x00000000, 0x43968000, 0x43970000, 0x43990000, 0x00000000,
6449 0x43af0000, 0x44238000, 0x43a30000, 0x00000000, 0x43b68000, 0x44190000, 0x4479c000, 0x00000000},
6450 {0x0000000e, 0x00000010, 0x00000012, 0x00000000, 0x0000000f, 0x00000047, 0x00000013, 0x00000000,
6451 0x00000037, 0x00000060, 0x00000061, 0x00000000, 0x0000003f, 0x00000060, 0x0000000d, 0x00000000,
6452 0x666e6163, 0xababab00, 0x00020003, 0x00020003, 0x00000002, 0x00000000, 0x43960000, 0x43978000,
6453 0x43980000, 0x00000000, 0x43968000, 0x43970000, 0x43990000, 0x00000000, 0x43af0000, 0x44238000,
6454 0x43a30000, 0x00000000, 0x43b68000, 0x44190000, 0x4479c000, 0x00000000, 0x335f7376, 0x4d00305f,
6455 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c, 0x72656461, 0x6d6f4320, 0x656c6970},
6456 {0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
6457 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff}},
6459 {0x42be3333, 0x42be6666, 0x00000000, 0x00000000, 0x42be999a, 0x42becccd, 0x00000000, 0x00000000,
6460 0x42bf0000, 0x42bf3333, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
6461 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
6462 0x42140000, 0x41500000, 0x00000000, 0x00000000, 0x42c40000, 0x42580000, 0x00000000, 0x00000000,
6463 0x429a0000, 0x42100000, 0x00000000, 0x00000000},
6464 {0x00000050, 0x00000051, 0x00000001, 0x00000000, 0x00000052, 0x00000053, 0x00000001, 0x00000000,
6465 0x00000054, 0x00000055, 0x00000001, 0x00000000, 0x00666e72, 0x42140000, 0x41500000, 0x00000000,
6466 0x00000000, 0x42c40000, 0x42580000, 0x00000000, 0x00000000, 0x429a0000, 0x42100000, 0x00000000},
6467 {0xffffffff, 0xffffffff, 0x00000000, 0x00000000, 0xffffffff, 0xffffffff}},
6469 {0x3fc00000, 0x40333333, 0x00000000, 0x00000000, 0x40533333, 0x409ccccd, 0x00000000, 0x00000000,
6470 0x40bccccd, 0x40d9999a, 0x00000000, 0x00000000, 0x40fccccd, 0x41080000, 0x00000000, 0x00000000,
6471 0x41166666, 0x3fa66666, 0x00000000, 0x00000000, 0x3f99999a, 0x3f8ccccd, 0x00000000, 0x00000000,
6472 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
6473 0x00000000, 0x3f800000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000,
6474 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x00000000,
6475 0x420c0000, 0x42200000, 0x00000000, 0x00000000, 0x42700000, 0x42a00000, 0x00000000, 0x00000000,
6476 0x428c0000, 0x42600000, 0x00000000, 0x00000000, 0x42140000, 0x41500000, 0x00000000, 0x00000000,
6477 0x42c40000, 0x42580000, 0x00000000, 0x00000000, 0x429a0000, 0x42100000, 0x00000000, 0x00000000},
6478 {0x00000004, 0x00000005, 0x00000001, 0x00000000, 0x00000006, 0x00000001, 0x00000001, 0x00000000,
6479 0x00000008, 0x00000001, 0x00000001, 0x00000000, 0x00000005, 0x00000003, 0x00000001, 0x00000000,
6480 0x00000009, 0x00000006, 0x00000001, 0x00000000, 0x00000007, 0x00000003, 0x00000001, 0x00000000,
6481 0x666e6172, 0xababab00, 0x00020002, 0x00020003, 0x00000002, 0x00000000, 0x420c0000, 0x42200000,
6482 0x00000000, 0x00000000, 0x42700000, 0x42a00000, 0x00000000, 0x00000000, 0x428c0000, 0x42600000,
6483 0x00000000, 0x00000000, 0x42140000, 0x41500000, 0x00000000, 0x00000000, 0x42c40000, 0x42580000},
6484 {0xffffffff, 0x00000000, 0x00000000, 0xffffffff, 0x00000000, 0xffffffff, 0x00000000, 0x00000000,
6485 0xffffffff, 0xffffffff, 0x00000000, 0xffffffff}},
6487 {0x3f8ccccd, 0x00000000, 0x00000000, 0x00000000, 0x400ccccd, 0x40533333, 0x408ccccd, 0x00000000,
6488 0x41f80000, 0x00000000, 0x00000000, 0x00000000, 0x42000000, 0x42040000, 0x42080000, 0x00000000,
6489 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000},
6490 {0x0000000b, 0x00000000, 0x00000001, 0x00000000, 0x0000000c, 0x0000000d, 0x0000000e, 0x00000000,
6491 0x00666e73, 0x7600666e, 0xab00666e, 0x00000204, 0x0000019c, 0x00000207, 0x000001b0, 0x00000005},
6492 {0xffffffff, 0xffffffff, 0x00000000, 0xffffffff}},
6494 {0x3f8ccccd, 0x00000000, 0x00000000, 0x00000000, 0x40066666, 0x40466666, 0x40833333, 0x00000000,
6495 0x40a33333, 0x00000000, 0x00000000, 0x00000000, 0x40c33333, 0x40e33333, 0x4101999a, 0x00000000,
6496 0x42240000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x422c0000, 0x42300000, 0x00000000,
6497 0x42240000, 0x00000000, 0x00000000, 0x00000000, 0x42280000, 0x422c0000, 0x42300000, 0x00000000,
6498 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000,
6499 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x00000000, 0x3f800000, 0x00000000},
6500 {0x00000015, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000017, 0x00000018, 0x00000000,
6501 0x00000019, 0x00000000, 0x00000001, 0x00000000, 0x0000001a, 0x0000001b, 0x0000001c, 0x00000000,
6502 0x666e6173, 0x00666e00, 0x00666e76, 0x00000275, 0x000001ec, 0x00000278, 0x00000200, 0x00000005,
6503 0x00040001, 0x00020002, 0x0000027c, 0x42240000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
6504 {0xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0x00000000, 0xffffffff, 0x00000000, 0xffffffff}},
6506 {0x3f8ccccd, 0x00000000, 0x00000000, 0x00000000, 0x40066666, 0x00000000, 0x00000000, 0x00000000,
6507 0x40466666, 0x40833333, 0x40a33333, 0x00000000, 0x40c33333, 0x00000000, 0x00000000, 0x00000000,
6508 0x42240000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
6509 0x422c0000, 0x42300000, 0x42240000, 0x00000000, 0x42280000, 0x00000000, 0x00000000, 0x00000000,
6510 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
6511 0x00000000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
6512 {0x00000047, 0x00000000, 0x00000001, 0x00000000, 0x00000048, 0x00000000, 0x00000001, 0x00000000,
6513 0x00000049, 0x0000004a, 0x0000004b, 0x00000000, 0x0000004c, 0x00000000, 0x00000001, 0x00000000,
6514 0x666e7373, 0x00666e00, 0x00666e76, 0x00000321, 0x0000026c, 0x00000324, 0x00000280, 0x00000005},
6515 {0xffffffff, 0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x00000000}},
6518 {0x00000004, 0x00000005, 0x00000001, 0x00000000, 0x00000006, 0x00000001, 0x00000001, 0x00000000,
6519 0x00000008, 0x00000001, 0x00000001, 0x00000000, 0x00000002, 0x00000003, 0x00000001, 0x00000000,
6520 0x00000004, 0x00000007, 0x00000001, 0x00000000, 0x00000009, 0x00000001, 0x00000001, 0x00000000,
6521 0x335f7376, 0x4d00305f, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c, 0x72656461,
6522 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932},
6527 {0x3f8ccccd, 0x40b00000, 0x411e6666, 0x3fc00000, 0x400ccccd, 0x40d33333, 0x3f99999a, 0x3fcccccd,
6528 0x420551ec, 0x00000000, 0x00000000, 0x00000000},
6547 skip(
"Couldn't create application window\n");
6552 skip(
"Couldn't create IDirect3D9 object\n");
6563 skip(
"Failed to create IDirect3DDevice9 object %#lx\n",
hr);
6574 skip(
"Skipping: Test requires VS >= 3 and PS >= 3.\n");
6584 ID3DXConstantTable *
ctable;
6590 ok(
hr ==
D3D_OK,
"D3DXGetShaderConstantTable \"%s\" failed, got %08lx, expected %08lx\n", tablename,
hr,
D3D_OK);
6593 ok(
hr ==
D3D_OK,
"GetDesc \"%s\" failed, got %08lx, expected %08lx\n", tablename,
hr,
D3D_OK);
6595 is_vs = (tdesc.
Version & 0xFFFF0000) == 0xFFFE0000;
6600 ok(
hr ==
D3D_OK,
"SetDefaults \"%s\" failed, got %08lx, expected %08lx\n", tablename,
hr,
D3D_OK);
6604 ok(
ret == 0,
"Get*ShaderConstantF \"%s\" failed\n", tablename);
6608 ok(
ret == 0,
"Get*ShaderConstantI \"%s\" failed\n", tablename);
6612 ok(
ret == 0,
"Get*ShaderConstantB \"%s\" failed\n", tablename);
6615 ok(
count == 0,
"Release \"%s\" failed, got %lu, expected %u\n", tablename,
count, 0);
6620 ok(
count == 0,
"The Direct3D device reference count was %lu, should be 0\n",
count);
6623 ok(
count == 0,
"The Direct3D object reference count was %lu, should be 0\n",
count);
6630 static const DWORD invalid_1[] =
6645 0x0000001f, 0x80000000, 0x900f0000,
6646 0x0000001f, 0x80000003, 0x900f0001,
6647 0x0000001f, 0x8001000a, 0x900f0002,
6648 0x0000001f, 0x80000005, 0x900f0003,
6649 0x00000001, 0xc00f0000, 0x90e40000,
6650 0x00000001, 0xd00f0001, 0x90e40002,
6651 0x00000001, 0xe0070000, 0x90e40001,
6652 0x00000001, 0xc00f0001, 0x90ff0002,
6653 0x00000001, 0xc00f0002, 0x90ff0001,
6659 0x0200001f, 0x80000000, 0x900f0000,
6660 0x0200001f, 0x80000003, 0x900f0001,
6661 0x0200001f, 0x8001000a, 0x900f0002,
6662 0x0200001f, 0x80000005, 0x900f0003,
6663 0x02000001, 0xc00f0000, 0x90e40000,
6664 0x02000001, 0xd00f0001, 0x90e40002,
6665 0x02000001, 0xe0070000, 0x90e40003,
6666 0x02000001, 0xc00f0001, 0x90ff0002,
6667 0x02000001, 0xc00f0002, 0x90ff0001,
6673 0x0002fffe, 0x0200000f, 0x00000000,
6674 0x0200001f, 0x80000000, 0x900f0000,
6675 0x0200001f, 0x80000003, 0x900f0001,
6676 0x0200001f, 0x8001000a, 0x900f0002,
6677 0x0200001f, 0x80000005, 0x900f0003,
6678 0x0200001f, 0x80000000, 0xe00f0000,
6679 0x0200001f, 0x8001000a, 0xe00f0001,
6680 0x0200001f, 0x80000005, 0xe00f0002,
6681 0x0200001f, 0x8000000b, 0xe00f0003,
6682 0x0200001f, 0x80000004, 0xe00f0004,
6683 0x02000001, 0xe00f0000, 0x90e40000,
6684 0x02000001, 0xe00f0001, 0x90e40002,
6685 0x02000001, 0xe0070002, 0x90e40003,
6686 0x02000001, 0xe00f0003, 0x90ff0002,
6687 0x02000001, 0xe00f0004, 0x90ff0001,
6693 0x00000042, 0xb00f0000,
6694 0x00000002, 0x800f0000, 0x90e40000, 0xb0e40000,
6700 0x0200001f, 0x80000000, 0x900f0000,
6701 0x0200001f, 0x80000000, 0xb00f0000,
6702 0x02000001, 0x800f0800, 0x90e40000,
6708 0x0200001f, 0x8001000a, 0x900f0000,
6709 0x0200001f, 0x80000003, 0x900f0001,
6710 0x0200001f, 0x80000005, 0x900f0002,
6711 0x0200001f, 0x8000000b, 0x900f0003,
6712 0x0200001f, 0x80000000, 0x90031000,
6713 0x0200001f, 0x80000000, 0x900f1001,
6714 0x05000051, 0xa00f0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
6715 0x02000001, 0x800f0000, 0x90e40000,
6716 0x03000002, 0x800f0800, 0x80e40000, 0x90e40003,
6717 0x02000001, 0x800f0001, 0x90e40001,
6718 0x03000005, 0x800f0801, 0x80e40001, 0x90e40002,
6719 0x02000001, 0x800f0802, 0x90441000,
6720 0x04000058, 0x800f0803, 0x90e41001, 0x90e40000, 0xa0e40000,
6721 0x02000001, 0x900f0800, 0x90ff0001,
6732 {vs_1_1, {{0, 0}, {3, 0}, {10, 1}, {5, 0}, {~0, ~0}}, {{5, 0}, {10, 1}, {0, 0}, {11, 0}, {4, 0}, {~0, ~0}}},
6733 {
vs_2_0, {{0, 0}, {3, 0}, {10, 1}, {5, 0}, {~0, ~0}}, {{5, 0}, {10, 1}, {0, 0}, {11, 0}, {4, 0}, {~0, ~0}}},
6734 {vs_3_0, {{0, 0}, {3, 0}, {10, 1}, {5, 0}, {~0, ~0}}, {{0, 0}, {10, 1}, {5, 0}, {11, 0}, {4, 0}, {~0, ~0}}},
6735 {ps_1_1, {{5, 0}, {10, 0}, {~0, ~0}}, {{10, 0}, {~0, ~0}}},
6736 {ps_2_0, {{10, 0}, {5, 0}, {~0, ~0}}, {{10, 0}, {~0, ~0}}},
6737 {ps_3_0, {{10, 1}, {3,0}, {5, 0}, {11, 0}, {~0, ~0}}, {{10, 0}, {10, 1}, {10, 2}, {10, 3}, {12, 0}, {~0, ~0}}},
6740 unsigned int count, count2;
6764 ok(
count == count2,
"Semantics count %u differs from previous count %u.\n", count2,
count);
6768 && semantics[
j].UsageIndex ==
tests[
i].expected_input[
j].UsageIndex,
6769 "Unexpected semantic %u, %u, test %u, idx %u.\n",
6770 semantics[
j].
Usage, semantics[
j].UsageIndex,
i,
j);
6773 "Unexpected semantics count %u.\n",
count);
6778 ok(
count == count2,
"Semantics count %u differs from previous count %u.\n", count2,
count);
6783 "Unexpected semantic %u, %u, test %u, idx %u.\n",
6784 semantics[
j].
Usage, semantics[
j].UsageIndex,
i,
j);
6787 "Unexpected semantics count %u.\n",
count);
6791#if D3DX_SDK_VERSION <= 41
6794 ID3DXFragmentLinker *linker;
6802 window =
CreateWindowA(
"static",
"d3dx9_test",
WS_OVERLAPPEDWINDOW, 0, 0, 640, 480,
NULL,
NULL,
NULL,
NULL);
6805 skip(
"Failed to create a D3D object.\n");
6817 skip(
"Failed to create a D3D device, hr %#lx.\n",
hr);
6825 ok(!!linker,
"Unexpected linker %p.\n", linker);
6826 linker->lpVtbl->Release(linker);
6830 ok(!!linker,
"Unexpected linker %p.\n", linker);
6831 linker->lpVtbl->Release(linker);
6834 ok(!refcount,
"Device has %lu references left.\n", refcount);
6836 ok(!refcount,
"The D3D object has %lu references left.\n", refcount);
6843 static const char vs_hlsl[] =
6844 "float4 main(in float4 pos : POSITION) : POSITION\n"
6848 static const char ps_hlsl[] =
6849 "float func(float x){return 0.1;}\n"
6850 "float func(half x){return 0.2;}\n"
6851 "float func(double x){return 0.3;}\n"
6853 "float4 main(uniform double u) : COLOR\n"
6855 " return func(u);\n"
6860 IDirect3DVertexShader9 *
vs;
6861 IDirect3DPixelShader9 *ps;
6914#if D3DX_SDK_VERSION <= 41
static _Locale_mask_t ctable[256]
#define D3DERR_INVALIDCALL
#define D3DPS_VERSION(major, minor)
#define D3DVS_VERSION(major, minor)
IDirect3D9 *WINAPI Direct3DCreate9(UINT SDKVersion)
#define IDirect3DDevice9_EndScene(p)
#define IDirect3DDevice9_BeginScene(p)
#define IDirect3DDevice9_SetFVF(p, a)
#define IDirect3DDevice9_CreatePixelShader(p, a, b)
#define IDirect3DDevice9_GetPixelShaderConstantB(p, a, b, c)
#define IDirect3DDevice9_GetPixelShaderConstantI(p, a, b, c)
#define IDirect3DSurface9_LockRect(p, a, b, c)
#define IDirect3DDevice9_GetVertexShaderConstantI(p, a, b, c)
#define IDirect3D9_CreateDevice(p, a, b, c, d, e, f)
#define IDirect3DDevice9_DrawPrimitiveUP(p, a, b, c, d)
#define IDirect3DDevice9_SetRenderState(p, a, b)
#define IDirect3DDevice9_SetPixelShader(p, a)
#define IDirect3DDevice9_GetPixelShaderConstantF(p, a, b, c)
#define IDirect3DDevice9_GetDeviceCaps(p, a)
#define IDirect3DDevice9_SetPixelShaderConstantI(p, a, b, c)
#define IDirect3DDevice9_SetVertexShaderConstantF(p, a, b, c)
#define IDirect3DPixelShader9_Release(p)
#define IDirect3D9_Release(p)
#define IDirect3DVertexShader9_Release(p)
#define IDirect3DDevice9_SetPixelShaderConstantF(p, a, b, c)
#define IDirect3DDevice9_GetVertexShaderConstantB(p, a, b, c)
#define IDirect3DDevice9_SetVertexShader(p, a)
#define IDirect3DSurface9_GetDesc(p, a)
#define IDirect3DDevice9_Release(p)
#define IDirect3DDevice9_SetVertexShaderConstantI(p, a, b, c)
#define IDirect3DDevice9_SetPixelShaderConstantB(p, a, b, c)
#define IDirect3DSurface9_UnlockRect(p)
#define IDirect3DDevice9_GetVertexShaderConstantF(p, a, b, c)
#define IDirect3DSurface9_Release(p)
#define IDirect3DDevice9_SetVertexShaderConstantB(p, a, b, c)
#define IDirect3DDevice9_CreateVertexShader(p, a, b)
#define IDirect3DDevice9_CreateOffscreenPlainSurface(p, a, b, c, d, e, f)
#define IDirect3DDevice9_GetRenderTarget(p, a, b)
static const DWORD vs_2_0[]
#define D3DXERR_INVALIDDATA
struct ID3DXBuffer ID3DXBuffer
HRESULT WINAPI D3DXGetShaderConstantTableEx(const DWORD *byte_code, DWORD flags, ID3DXConstantTable **constant_table)
HRESULT WINAPI D3DXCreateFragmentLinkerEx(IDirect3DDevice9 *device, UINT size, DWORD flags, ID3DXFragmentLinker **linker)
UINT WINAPI D3DXGetShaderSize(const DWORD *byte_code)
HRESULT WINAPI D3DXGetShaderOutputSemantics(const DWORD *byte_code, D3DXSEMANTIC *semantics, UINT *count)
HRESULT WINAPI D3DXFindShaderComment(const DWORD *byte_code, DWORD fourcc, const void **data, UINT *size)
DWORD WINAPI D3DXGetShaderVersion(const DWORD *byte_code)
HRESULT WINAPI D3DXGetShaderSamplers(const DWORD *byte_code, const char **samplers, UINT *count)
HRESULT WINAPI D3DXCompileShader(const char *data, UINT length, const D3DXMACRO *defines, ID3DXInclude *include, const char *function, const char *profile, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_msgs, ID3DXConstantTable **constant_table)
HRESULT WINAPI D3DXGetShaderInputSemantics(const DWORD *byte_code, D3DXSEMANTIC *semantics, UINT *count)
HRESULT WINAPI D3DXGetShaderConstantTable(const DWORD *byte_code, ID3DXConstantTable **constant_table)
HRESULT WINAPI D3DXCreateFragmentLinker(IDirect3DDevice9 *device, UINT size, ID3DXFragmentLinker **linker)
HRESULT WINAPI D3DXLoadSurfaceFromSurface(IDirect3DSurface9 *dst_surface, const PALETTEENTRY *dst_palette, const RECT *dst_rect, IDirect3DSurface9 *src_surface, const PALETTEENTRY *src_palette, const RECT *src_rect, DWORD filter, D3DCOLOR color_key)
_ACRTIMP int __cdecl memcmp(const void *, const void *, size_t)
_ACRTIMP int __cdecl strcmp(const char *, const char *)
#define ID3DXBuffer_GetBufferPointer(p)
#define ID3DXConstantTable_GetBufferPointer(p)
#define ID3DXConstantTable_SetMatrixTransposeArray(p, a, b, c, d)
#define ID3DXConstantTable_SetBool(p, a, b, c)
#define ID3DXConstantTable_SetIntArray(p, a, b, c, d)
#define ID3DXConstantTable_GetBufferSize(p)
#define ID3DXConstantTable_GetDesc(p, a)
#define ID3DXConstantTable_GetSamplerIndex(p, a)
#define ID3DXConstantTable_GetConstantElement(p, a, b)
#define ID3DXConstantTable_SetVectorArray(p, a, b, c, d)
#define ID3DXConstantTable_Release(p)
#define ID3DXConstantTable_SetMatrixPointerArray(p, a, b, c, d)
#define ID3DXConstantTable_SetMatrixArray(p, a, b, c, d)
#define ID3DXConstantTable_GetConstantDesc(p, a, b, c)
#define ID3DXConstantTable_SetValue(p, a, b, c, d)
#define ID3DXConstantTable_SetMatrixTranspose(p, a, b, c)
#define ID3DXConstantTable_SetBoolArray(p, a, b, c, d)
#define D3DXCONSTTABLE_LARGEADDRESSAWARE
enum _D3DXREGISTER_SET D3DXREGISTER_SET
#define ID3DXConstantTable_SetDefaults(p, a)
#define ID3DXConstantTable_SetMatrixTransposePointerArray(p, a, b, c, d)
#define ID3DXConstantTable_SetVector(p, a, b, c)
#define ID3DXConstantTable_SetFloat(p, a, b, c)
#define ID3DXConstantTable_SetFloatArray(p, a, b, c, d)
#define ID3DXConstantTable_SetMatrix(p, a, b, c)
#define ID3DXConstantTable_GetConstant(p, a, b)
#define ID3DXConstantTable_SetInt(p, a, b, c)
#define ID3DXConstantTable_GetConstantByName(p, a, b)
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLdouble GLdouble GLdouble r
GLboolean GLboolean GLboolean b
GLubyte GLubyte GLubyte GLubyte w
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint vn
_Must_inspect_result_ _In_ USAGE _In_ USHORT _In_ USAGE Usage
#define init_test_context(a)
static ID3D11Device * create_device(void)
#define draw_quad(context, ps_code)
static void test_constant_table(void)
static ID3DXConstantTable ** constant_table
UCHAR ab[sizeof("Hello World!") -1]
static CRYPT_DATA_BLOB b1[]
D3D11_SHADER_VARIABLE_DESC desc
static const struct registerset_test registerset_test_vector_float[]
static const struct registerset_constants registerset_constants_matrix_column_clamp[]
static const DWORD registerset_blob_vector_array[]
static const struct registerset_constants registerset_constants_scalar_bool_float[]
static const struct registerset_test registerset_test_vector_array_float[]
static const DWORD registerset_blob_scalar_array[]
static const DWORD shader_with_ctab_constants[]
static const struct registerset_test registerset_test_row_array_bool[]
static const struct registerset_constants registerset_constants_special_int[]
static const float mat3_default_value[]
static const struct registerset_constants registerset_constants_struct_bool[]
static const struct registerset_test registerset_test_row_array_bool_float[]
static const struct registerset_constants registerset_constants_scalar_array_bool_float[]
static const struct registerset_constants registerset_constants_row_int_float[]
static const DWORD shader_invalid[]
static const struct registerset_constants registerset_constants_struct_struct_bool_float[]
static const struct registerset_constants registerset_constants_column_array_int[]
static void test_shader_semantics(void)
static const struct registerset_test registerset_test_struct_int_float[]
static UINT registerset_compare(IDirect3DDevice9 *device, BOOL is_vs, D3DXREGISTER_SET regset, UINT start, UINT in_count, const DWORD *expected)
static const struct registerset_test registerset_test_scalar_int[]
static const struct registerset_test registerset_test_matrix_column_clamp[]
static const struct registerset_test registerset_test_row_float[]
static void test_get_shader_size(void)
static const DWORD registerset_blob_special_int[]
static const struct registerset_constants registerset_constants_scalar_float[]
static const struct registerset_test registerset_test_vector_int_float[]
static const DWORD registerset_blob_row[]
@ SetMatrixTransposePointerArray
@ SetMatrixTransposeArray
static const DWORD simple_7ffe[]
static const struct registerset_constants registerset_constants_vector_array_bool_float[]
static const struct registerset_test registerset_test_struct_array_int_float[]
static void test_SetValue(IDirect3DDevice9 *device)
static const DWORD registerset_blob_column[]
static const DWORD registerset_blob_struct[]
static const struct registerset_test registerset_test_scalar_bool[]
static const struct registerset_test registerset_test_vector_array_bool[]
const struct registerset_constants * constants
static const DWORD test_get_shader_constant_variables_blob[]
static const struct registerset_constants registerset_constants_row_array_int_float[]
static const struct registerset_constants registerset_constants_column_array_bool_float[]
static const struct registerset_constants registerset_constants_vector_array_bool[]
static const struct registerset_constants registerset_constants_struct_struct_int_float[]
static const DWORD simple_vs[]
static void test_get_sampler_index(void)
static void test_find_shader_comment(void)
static const struct registerset_test registerset_test_struct_struct_bool[]
static const DWORD registerset_blob_vector[]
static const struct registerset_constants registerset_constants_row_float[]
static const struct registerset_constants registerset_constants_row_array_bool_float[]
static const struct registerset_test registerset_test_struct_int[]
static const DWORD fx_shader_with_ctab[]
static const DWORD shader_empty[]
static const DWORD ctab_samplers[]
static const struct registerset_constants registerset_constants_struct_int[]
static void test_get_shader_samplers(void)
static const struct registerset_test registerset_test_struct_array_int[]
static const D3DXCONSTANT_DESC ctab_samplers_expected[]
static const DWORD registerset_blob_row_array[]
static const struct registerset_constants registerset_constants_vector_array_int_float[]
static const struct registerset_test registerset_test_scalar_bool_float[]
static void test_registerset_defaults(void)
static const struct registerset_test registerset_test_vector_array_int_float[]
static const struct registerset_test registerset_test_column_array_bool[]
static const float flt_default_value[]
static const DWORD shader_with_ctab[]
static const struct registerset_constants registerset_constants_column_int_float[]
static const DWORD simple_ps[]
static const float vec4_default_value[]
static const struct registerset_constants registerset_constants_row_bool[]
static const struct registerset_test registerset_test_column_int[]
static const DWORD simple_7fff[]
static const struct registerset_test registerset_test_struct_struct_float[]
static void registerset_clear(IDirect3DDevice9 *device)
static void test_registerset(void)
static const struct registerset_test registerset_test_struct_bool[]
static const struct registerset_constants registerset_constants_struct_struct_int[]
static const struct registerset_constants registerset_constants_column_array_int_float[]
static void test_setting_matrices_table(IDirect3DDevice9 *device)
static const struct registerset_constants registerset_constants_struct_bool_float[]
static const float arr_default_value[]
static const struct registerset_test registerset_test_scalar_array_bool_float[]
static void test_get_shader_constant_variables(void)
static const struct registerset_constants registerset_constants_row_int[]
static const struct registerset_test registerset_test_struct_struct_bool_float[]
static UINT registerset_compare_all(IDirect3DDevice9 *device, BOOL is_vs, D3DXREGISTER_SET regset, UINT start, UINT in_count, const DWORD *expected)
static const struct registerset_constants registerset_constants_struct_array_bool_float[]
static const struct registerset_test registerset_test_struct_array_bool[]
static const DWORD get_shader_samplers_blob[]
static const DWORD registerset_blob_column_array[]
static const DWORD registerset_blob_matrix_column_clamp[]
static const struct registerset_test registerset_test_column_bool_float[]
static const DWORD registerset_blob_scalar[]
static const struct registerset_test registerset_test_vector_bool[]
static const struct registerset_constants registerset_constants_column_array_bool[]
static const DWORD ctab_matrices[]
static const DWORD registerset_blob_struct_struct[]
static const struct registerset_constants registerset_constants_row_array_float[]
static void release_surface_readback(struct surface_readback *rb)
static const struct registerset_constants registerset_constants_column_int[]
static const struct registerset_constants registerset_constants_scalar_array_int_float[]
static const struct registerset_test registerset_test_vector_bool_float[]
static const struct registerset_test registerset_test_row_array_int_float[]
static const struct registerset_test registerset_test_vector_int[]
static void test_constant_tables(void)
static const DWORD ctab_matrices2[]
static const struct registerset_test registerset_test_row_array_float[]
static const struct registerset_test registerset_test_struct_float[]
static const struct registerset_test registerset_test_scalar_array_float[]
static const struct registerset_constants registerset_constants_bigvec_float[]
static const struct registerset_test registerset_test_scalar_array_int_float[]
static const struct registerset_test registerset_test_row_int[]
static const struct registerset_test registerset_test_column_array_bool_float[]
static uint32_t get_readback_color(struct surface_readback *rb, uint32_t x, uint32_t y)
static const struct registerset_constants registerset_constants_struct_struct_bool[]
static const DWORD ctab_basic[]
static const struct registerset_constants registerset_constants_scalar_int[]
static const struct registerset_constants registerset_constants_column_bool_float[]
static const struct registerset_constants registerset_constants_vector_bool[]
static const struct registerset_constants registerset_constants_scalar_int_float[]
static const struct registerset_constants registerset_constants_vector_bool_float[]
static bool compare_uint(unsigned int x, unsigned int y, unsigned int max_diff)
static const struct registerset_test registerset_test_vector_array_int[]
static const struct registerset_test registerset_test_column_array_int_float[]
static const struct registerset_test registerset_test_struct_array_float[]
static const D3DXCONSTANT_DESC ctab_matrices_expected[]
static const struct registerset_test registerset_test_struct_struct_int[]
static const struct registerset_constants registerset_constants_scalar_bool[]
static const DWORD simple_tx[]
static const struct registerset_test registerset_test_vector_array_bool_float[]
static const D3DXCONSTANT_DESC ctab_basic_expected[]
static void test_setting_basic_table(IDirect3DDevice9 *device)
static const struct registerset_constants registerset_constants_vector_array_float[]
static const struct registerset_test registerset_test_scalar_array_int[]
static const struct registerset_constants registerset_constants_vector_int_float[]
static const struct registerset_test registerset_test_scalar_float[]
static const struct registerset_test registerset_test_column_float[]
static const struct registerset_test registerset_test_scalar_int_float[]
static const struct registerset_test registerset_test_struct_bool_float[]
static const D3DXCONSTANT_DESC ctab_with_default_values_expected[]
static const struct registerset_test registerset_test_row_bool_float[]
static const struct registerset_constants registerset_constants_row_bool_float[]
static const struct registerset_constants registerset_constants_struct_struct_float[]
static void test_get_shader_version(void)
static const struct registerset_test registerset_test_column_array_float[]
static const DWORD ctab_arrays[]
static const DWORD registerset_blob_bigvec[]
static bool color_match(uint32_t c1, uint32_t c2, unsigned int max_diff)
static const struct registerset_constants registerset_constants_column_array_float[]
static void test_setting_constants(void)
static const struct registerset_test registerset_test_column_int_float[]
static const struct registerset_test registerset_test_bigvec_float[]
static const struct registerset_test registerset_test_struct_array_bool_float[]
static const struct registerset_constants registerset_constants_row_array_int[]
static const struct registerset_constants registerset_constants_struct_array_int_float[]
static const struct registerset_constants registerset_constants_vector_int[]
static void test_hlsl_double(void)
static const struct @1917 registerset_defaults_data[]
static void test_setting_arrays_table(IDirect3DDevice9 *device)
static void test_get_shader_constant_table_ex(void)
static const struct registerset_constants registerset_constants_scalar_array_bool[]
static HRESULT registerset_apply(ID3DXConstantTable *ctable, IDirect3DDevice9 *device, D3DXHANDLE constant, UINT index, DWORD count, enum Type type)
static const struct registerset_constants registerset_constants_column_bool[]
static const DWORD shader_zero[]
static const struct registerset_test registerset_test_scalar_array_bool[]
static const struct registerset_constants registerset_constants_vector_array_int[]
static const DWORD registerset_blob_struct_array[]
static const DWORD simple_fx[]
static const struct @1916 registerset_data[]
static const struct registerset_constants registerset_constants_struct_array_float[]
static const struct registerset_constants registerset_constants_column_float[]
static const struct registerset_constants registerset_constants_struct_array_int[]
static const struct registerset_constants registerset_constants_struct_array_bool[]
static const D3DXCONSTANT_DESC ctab_matrices2_expected[]
const struct @1915 test_get_shader_constant_variables_data[]
static const D3DXCONSTANT_DESC ctab_arrays_expected[]
static const struct registerset_test registerset_test_row_array_int[]
static const struct registerset_constants registerset_constants_struct_float[]
static const DWORD registerset_test_input[][REGISTER_OUTPUT_SIZE]
static const struct registerset_test registerset_test_row_int_float[]
static void test_fragment_linker(void)
const struct registerset_test * tests
static const struct registerset_test registerset_test_column_array_int[]
static const struct registerset_constants registerset_constants_scalar_array_int[]
#define release_test_context(a)
static void release_test_context_(unsigned int line, struct d3d9_test_context *context)
#define REGISTER_OUTPUT_SIZE
static const struct registerset_constants registerset_constants_struct_int_float[]
static HWND create_window(void)
static const DWORD ctab_with_default_values[]
static const DWORD shader_with_invalid_ctab[]
static const struct registerset_constants registerset_constants_vector_float[]
static const struct registerset_constants registerset_constants_row_array_bool[]
static const struct registerset_test registerset_test_column_bool[]
static const struct registerset_test registerset_test_struct_struct_int_float[]
static const float mat4_default_value[]
static const struct registerset_test registerset_test_row_bool[]
static void test_SetDefaults(IDirect3DDevice9 *device)
static void get_surface_readback(IDirect3DDevice9 *device, IDirect3DSurface9 *surface, struct surface_readback *rb)
static const struct registerset_constants registerset_constants_scalar_array_float[]
static const char * test_name
static IHTMLWindow2 * window
static const struct stream_output expected_output[]
#define WS_OVERLAPPEDWINDOW
BOOL WINAPI AdjustWindowRect(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL)
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
for(i=0;i< sizeof(testsuite)/sizeof(testsuite[0]);++i) ok(call_test(testsuite[i].func)
static void quad(GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3, GLuint pv)
#define D3DADAPTER_DEFAULT
#define D3DCREATE_HARDWARE_VERTEXPROCESSING
#define D3DCREATE_SOFTWARE_VERTEXPROCESSING
#define D3DCREATE_MIXED_VERTEXPROCESSING
DWORD VertexShaderVersion
BOOL EnableAutoDepthStencil
D3DFORMAT BackBufferFormat
D3DFORMAT AutoDepthStencilFormat
D3DXPARAMETER_CLASS Class
D3DXREGISTER_SET RegisterSet
const void * DefaultValue
IDirect3DDevice9 * device
IDirect3DSurface9 * backbuffer
DWORD out[REGISTER_OUTPUT_SIZE]
D3DLOCKED_RECT locked_rect
IDirect3DSurface9 * surface
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out