33#include "d3d10_1shader.h"
41#define D3DERR_INVALIDCALL 0x8876086c
470x7263694d, 0x666f736f, 0x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d,
480x39207265, 0x2e39322e, 0x2e323539, 0x31313133, 0xababab00,
55float4 VS(float4 position :
POSITION, float4
pos : SV_POSITION) : SV_POSITION
640x43425844, 0x77c6324f, 0xfd27948a, 0xe6958d31, 0x53361cba, 0x00000001, 0x000001d8, 0x00000005,
650x00000034, 0x0000008c, 0x000000e4, 0x00000118, 0x0000015c, 0x46454452, 0x00000050, 0x00000000,
660x00000000, 0x00000000, 0x0000001c, 0xfffe0400, 0x00000100, 0x0000001c, 0x7263694d, 0x666f736f,
670x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
680x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x00000050, 0x00000002, 0x00000008, 0x00000038,
690x00000000, 0x00000000, 0x00000003, 0x00000000, 0x00000f0f, 0x00000041, 0x00000000, 0x00000000,
700x00000003, 0x00000001, 0x0000000f, 0x49534f50, 0x4e4f4954, 0x5f565300, 0x49534f50, 0x4e4f4954,
710xababab00, 0x4e47534f, 0x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000001,
720x00000003, 0x00000000, 0x0000000f, 0x505f5653, 0x5449534f, 0x004e4f49, 0x52444853, 0x0000003c,
730x00010040, 0x0000000f, 0x0300005f, 0x001010f2, 0x00000000, 0x04000067, 0x001020f2, 0x00000000,
740x00000001, 0x05000036, 0x001020f2, 0x00000000, 0x00101e46, 0x00000000, 0x0100003e, 0x54415453,
750x00000074, 0x00000002, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000000,
760x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
770x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000,
780x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
85 ID3D11ShaderReflection *ref11, *ref11_test;
86 ID3D10ShaderReflection *ref10;
87 ID3D10ShaderReflection1 *ref10_1;
90 ok(
hr ==
S_OK,
"D3DReflect failed, got %x, expected %x\n",
hr,
S_OK);
92 hr = ref11->lpVtbl->
QueryInterface(ref11, &IID_ID3D11ShaderReflection, (
void **)&ref11_test);
93 ok(
hr ==
S_OK,
"QueryInterface failed, got %x, expected %x\n",
hr,
S_OK);
95 count = ref11_test->lpVtbl->Release(ref11_test);
98 hr = ref11->lpVtbl->
QueryInterface(ref11, &IID_ID3D10ShaderReflection, (
void **)&ref10);
101 hr = ref11->lpVtbl->
QueryInterface(ref11, &IID_ID3D10ShaderReflection1, (
void **)&ref10_1);
104 count = ref11->lpVtbl->Release(ref11);
148 float4
x : SV_position;
150 uint b : BLENDINDICES;
151 float c : BLENDWEIGHT;
156 float4
g : POSITIONT;
160 uint k : SV_VertexID;
161 uint l : SV_InstanceID;
166 float4
x : SV_position;
169 float4
c : POSITION0;
171 float e : TESSFACTOR0;
172 float4
f : TEXCOORD0;
173 float g : SV_ClipDistance0;
174 float h : SV_CullDistance0;
175 uint i : SV_InstanceID;
181 s.x = float4(1.6f, 0.3f, 0.1f, 0.0f);
183 int p[5] = {1, 2, 3, 5, 4};
184 y =
y << (
int)
x.x.x & 0xf;
2000x43425844, 0xb65955ac, 0xcea1cb75, 0x06c5a1ad, 0x8a555fa1, 0x00000001, 0x0000076c, 0x00000005,
2010x00000034, 0x0000008c, 0x0000028c, 0x00000414, 0x000006f0, 0x46454452, 0x00000050, 0x00000000,
2020x00000000, 0x00000000, 0x0000001c, 0xfffe0401, 0x00000100, 0x0000001c, 0x7263694d, 0x666f736f,
2030x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
2040x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x000001f8, 0x0000000f, 0x00000008, 0x00000170,
2050x00000000, 0x00000000, 0x00000003, 0x00000000, 0x0000010f, 0x0000017c, 0x00000000, 0x00000000,
2060x00000003, 0x00000001, 0x0000000f, 0x00000185, 0x00000000, 0x00000000, 0x00000001, 0x00000002,
2070x00000001, 0x00000192, 0x00000000, 0x00000000, 0x00000003, 0x00000003, 0x00000101, 0x0000019e,
2080x00000000, 0x00000000, 0x00000003, 0x00000004, 0x00000f0f, 0x0000019e, 0x00000001, 0x00000000,
2090x00000003, 0x00000005, 0x0000000f, 0x000001a4, 0x00000000, 0x00000000, 0x00000003, 0x00000006,
2100x0000000f, 0x000001ab, 0x00000000, 0x00000000, 0x00000003, 0x00000007, 0x00000f0f, 0x000001b4,
2110x00000000, 0x00000000, 0x00000003, 0x00000008, 0x0000000f, 0x000001be, 0x00000000, 0x00000000,
2120x00000003, 0x00000009, 0x00000101, 0x000001c4, 0x00000000, 0x00000000, 0x00000003, 0x0000000a,
2130x0000000f, 0x000001cc, 0x00000000, 0x00000000, 0x00000003, 0x0000000b, 0x00000f0f, 0x000001d5,
2140x00000000, 0x00000006, 0x00000001, 0x0000000c, 0x00000001, 0x000001e1, 0x00000000, 0x00000008,
2150x00000001, 0x0000000d, 0x00000001, 0x000001ef, 0x00000000, 0x00000000, 0x00000003, 0x0000000e,
2160x00000101, 0x705f5653, 0x7469736f, 0x006e6f69, 0x4f4e4942, 0x4c414d52, 0x454c4200, 0x4e49444e,
2170x45434944, 0x4c420053, 0x57444e45, 0x48474945, 0x4f430054, 0x00524f4c, 0x4d524f4e, 0x50004c41,
2180x5449534f, 0x004e4f49, 0x49534f50, 0x4e4f4954, 0x53500054, 0x00455a49, 0x474e4154, 0x00544e45,
2190x43584554, 0x44524f4f, 0x5f565300, 0x74726556, 0x44497865, 0x5f565300, 0x74736e49, 0x65636e61,
2200x74004449, 0x69747365, 0xabab006e, 0x4e47534f, 0x00000180, 0x0000000b, 0x00000008, 0x00000110,
2210x00000000, 0x00000001, 0x00000003, 0x00000000, 0x0000000f, 0x0000011c, 0x00000000, 0x00000000,
2220x00000003, 0x00000001, 0x0000000f, 0x00000122, 0x00000000, 0x00000000, 0x00000003, 0x00000002,
2230x00000e01, 0x00000126, 0x00000000, 0x00000000, 0x00000003, 0x00000002, 0x00000d02, 0x0000012c,
2240x00000000, 0x00000000, 0x00000003, 0x00000002, 0x00000b04, 0x00000137, 0x00000000, 0x00000000,
2250x00000003, 0x00000002, 0x00000708, 0x0000013f, 0x00000000, 0x00000000, 0x00000003, 0x00000003,
2260x0000000f, 0x00000148, 0x00000000, 0x00000000, 0x00000003, 0x00000004, 0x0000000f, 0x00000151,
2270x00000000, 0x00000002, 0x00000003, 0x00000005, 0x00000e01, 0x00000161, 0x00000000, 0x00000003,
2280x00000003, 0x00000005, 0x00000d02, 0x00000171, 0x00000000, 0x00000000, 0x00000001, 0x00000006,
2290x00000e01, 0x705f5653, 0x7469736f, 0x006e6f69, 0x4f4c4f43, 0x4f460052, 0x53500047, 0x00455a49,
2300x53534554, 0x54434146, 0x7400524f, 0x6f747365, 0x50007475, 0x5449534f, 0x004e4f49, 0x43584554,
2310x44524f4f, 0x5f565300, 0x70696c43, 0x74736944, 0x65636e61, 0x5f565300, 0x6c6c7543, 0x74736944,
2320x65636e61, 0x5f565300, 0x74736e49, 0x65636e61, 0xab004449, 0x52444853, 0x000002d4, 0x00010041,
2330x000000b5, 0x0100086a, 0x0300005f, 0x00101012, 0x00000000, 0x0300005f, 0x00101012, 0x00000003,
2340x0300005f, 0x001010f2, 0x00000004, 0x0300005f, 0x001010f2, 0x00000007, 0x0300005f, 0x00101012,
2350x00000009, 0x0300005f, 0x001010f2, 0x0000000b, 0x0300005f, 0x00101012, 0x0000000e, 0x04000067,
2360x001020f2, 0x00000000, 0x00000001, 0x03000065, 0x001020f2, 0x00000001, 0x03000065, 0x00102012,
2370x00000002, 0x03000065, 0x00102022, 0x00000002, 0x03000065, 0x00102042, 0x00000002, 0x03000065,
2380x00102082, 0x00000002, 0x03000065, 0x001020f2, 0x00000003, 0x03000065, 0x001020f2, 0x00000004,
2390x04000067, 0x00102012, 0x00000005, 0x00000002, 0x04000067, 0x00102022, 0x00000005, 0x00000003,
2400x03000065, 0x00102012, 0x00000006, 0x02000068, 0x00000001, 0x04000069, 0x00000000, 0x00000005,
2410x00000004, 0x06000036, 0x00203012, 0x00000000, 0x00000000, 0x00004001, 0x00000001, 0x06000036,
2420x00203012, 0x00000000, 0x00000001, 0x00004001, 0x00000002, 0x06000036, 0x00203012, 0x00000000,
2430x00000002, 0x00004001, 0x00000003, 0x06000036, 0x00203012, 0x00000000, 0x00000003, 0x00004001,
2440x00000005, 0x06000036, 0x00203012, 0x00000000, 0x00000004, 0x00004001, 0x00000004, 0x0500001b,
2450x00100012, 0x00000000, 0x0010100a, 0x00000000, 0x07000029, 0x00100012, 0x00000000, 0x00004001,
2460x00000001, 0x0010000a, 0x00000000, 0x07000001, 0x00100012, 0x00000000, 0x0010000a, 0x00000000,
2470x00004001, 0x0000000f, 0x07000036, 0x00100012, 0x00000000, 0x0420300a, 0x00000000, 0x0010000a,
2480x00000000, 0x0500002b, 0x00102012, 0x00000000, 0x0010000a, 0x00000000, 0x08000036, 0x001020e2,
2490x00000000, 0x00004002, 0x00000000, 0x3e99999a, 0x3dcccccd, 0x00000000, 0x05000036, 0x001020f2,
2500x00000001, 0x00101e46, 0x00000004, 0x05000036, 0x00102012, 0x00000002, 0x0010100a, 0x00000003,
2510x05000036, 0x00102062, 0x00000002, 0x00101006, 0x00000009, 0x05000036, 0x00102082, 0x00000002,
2520x0010100a, 0x0000000e, 0x05000036, 0x001020f2, 0x00000003, 0x00101e46, 0x00000007, 0x05000036,
2530x001020f2, 0x00000004, 0x00101e46, 0x0000000b, 0x05000036, 0x00102012, 0x00000005, 0x00004001,
2540x3f800000, 0x05000036, 0x00102022, 0x00000005, 0x00004001, 0x3f800000, 0x05000036, 0x00102012,
2550x00000006, 0x00004001, 0x00000002, 0x0100003e, 0x54415453, 0x00000074, 0x00000015, 0x00000001,
2560x00000000, 0x00000012, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000000,
2570x00000005, 0x00000006, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
2580x00000000, 0x0000000a, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
2590x00000000, 0x00000000, 0x00000000,
300 ID3D11ShaderReflection *ref11;
310 hr = ref11->lpVtbl->GetDesc(ref11,
NULL);
313 hr = ref11->lpVtbl->GetDesc(ref11, &sdesc11);
316 ok(sdesc11.
Version == 65601,
"GetDesc failed, got %u, expected %u\n", sdesc11.
Version, 65601);
318 ok(sdesc11.
Flags == 256,
"GetDesc failed, got %u, expected %u\n", sdesc11.
Flags, 256);
326 ok(sdesc11.
DefCount == 0,
"GetDesc failed, got %u, expected %u\n", sdesc11.
DefCount, 0);
327 ok(sdesc11.
DclCount == 18,
"GetDesc failed, got %u, expected %u\n", sdesc11.
DclCount, 18);
355 ret = ref11->lpVtbl->GetBitwiseInstructionCount(ref11);
356 ok(
ret == 0,
"GetBitwiseInstructionCount failed, got %u, expected %u\n",
ret, 0);
358 ret = ref11->lpVtbl->GetConversionInstructionCount(ref11);
359 ok(
ret == 2,
"GetConversionInstructionCount failed, got %u, expected %u\n",
ret, 2);
361 ret = ref11->lpVtbl->GetMovInstructionCount(ref11);
362 ok(
ret == 10,
"GetMovInstructionCount failed, got %u, expected %u\n",
ret, 10);
364 ret = ref11->lpVtbl->GetMovcInstructionCount(ref11);
365 ok(
ret == 0,
"GetMovcInstructionCount failed, got %u, expected %u\n",
ret, 0);
372 hr = ref11->lpVtbl->GetInputParameterDesc(ref11,
i, &
desc);
373 ok(
hr ==
S_OK,
"GetInputParameterDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
375 ok(!
strcmp(
desc.SemanticName, pdesc->
SemanticName),
"GetInputParameterDesc(%u) SemanticName failed, got \"%s\", expected \"%s\"\n",
377 ok(
desc.SemanticIndex == pdesc->
SemanticIndex,
"GetInputParameterDesc(%u) SemanticIndex failed, got %u, expected %u\n",
379 ok(
desc.Register == pdesc->
Register,
"GetInputParameterDesc(%u) Register failed, got %u, expected %u\n",
381 ok(
desc.SystemValueType == pdesc->
SystemValueType,
"GetInputParameterDesc(%u) SystemValueType failed, got %x, expected %x\n",
383 ok(
desc.ComponentType == pdesc->
ComponentType,
"GetInputParameterDesc(%u) ComponentType failed, got %x, expected %x\n",
385 ok(
desc.Mask == pdesc->
Mask,
"GetInputParameterDesc(%u) Mask failed, got %x, expected %x\n",
387 ok(
desc.ReadWriteMask == pdesc->
ReadWriteMask,
"GetInputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x\n",
389 ok(
desc.Stream == pdesc->
Stream,
"GetInputParameterDesc(%u) Stream failed, got %u, expected %u\n",
397 hr = ref11->lpVtbl->GetOutputParameterDesc(ref11,
i, &
desc);
398 ok(
hr ==
S_OK,
"GetOutputParameterDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
400 ok(!
strcmp(
desc.SemanticName, pdesc->
SemanticName),
"GetOutputParameterDesc(%u) SemanticName failed, got \"%s\", expected \"%s\"\n",
402 ok(
desc.SemanticIndex == pdesc->
SemanticIndex,
"GetOutputParameterDesc(%u) SemanticIndex failed, got %u, expected %u\n",
404 ok(
desc.Register == pdesc->
Register,
"GetOutputParameterDesc(%u) Register failed, got %u, expected %u\n",
406 ok(
desc.SystemValueType == pdesc->
SystemValueType,
"GetOutputParameterDesc(%u) SystemValueType failed, got %x, expected %x\n",
408 ok(
desc.ComponentType == pdesc->
ComponentType,
"GetOutputParameterDesc(%u) ComponentType failed, got %x, expected %x\n",
410 ok(
desc.Mask == pdesc->
Mask,
"GetOutputParameterDesc(%u) Mask failed, got %x, expected %x\n",
412 ok(
desc.ReadWriteMask == pdesc->
ReadWriteMask,
"GetOutputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x\n",
414 ok(
desc.Stream == pdesc->
Stream,
"GetOutputParameterDesc(%u) Stream failed, got %u, expected %u\n",
418 count = ref11->lpVtbl->Release(ref11);
430 Filter = MIN_MAG_MIP_LINEAR;
434SamplerComparisonState samc
436 Filter = MIN_MAG_MIP_LINEAR;
439 ComparisonFunc = LESS;
443 uint f : SV_RenderTargetArrayIndex;
444 uint g : SV_InstanceID;
445 uint h : SV_PrimitiveID;
446 float2 uv : TEXCOORD;
449 float4
c : SV_position;
450 bool d : SV_Coverage;
451 bool e : SV_IsFrontFace;
455 float a : SV_Target1;
458 bool c : SV_Coverage;
463 float4
x = tex1.Sample(
sam,
p.uv);
464 x += tex1.SampleCmp(samc,
p.uv, 0.3f);
466 x += tex2.SampleCmp(samc,
p.uv, 0.4f);
468 x += tex2.SampleCmp(samc,
p.uv, 0.1f);
470 x += tex2.SampleBias(
sam,
p.uv, 0.1f);
472 x += tex2.SampleBias(
sam,
p.uv, 0.2f);
474 x += tex2.SampleBias(
sam,
p.uv, 0.3f);
476 x += tex2.SampleBias(
sam,
p.uv, 0.4f);
477 x += tex2.SampleGrad(
sam,
p.uv,
x.xy,
x.xy);
478 x += tex2.SampleGrad(
sam,
p.uv,
x.xz,
x.xz);
479 x += tex2.SampleGrad(
sam,
p.uv,
x.xz,
x.zy);
480 x += tex2.SampleGrad(
sam,
p.uv,
x.xz,
x.zw);
481 x += tex2.SampleGrad(
sam,
p.uv,
x.xz,
x.wz);
4900x43425844, 0x19e2f325, 0xf1ec39a3, 0x3c5a8b53, 0x5bd5fb65, 0x00000001, 0x000008d0, 0x00000005,
4910x00000034, 0x0000011c, 0x00000254, 0x000002e4, 0x00000854, 0x46454452, 0x000000e0, 0x00000000,
4920x00000000, 0x00000004, 0x0000001c, 0xffff0401, 0x00000100, 0x000000af, 0x0000009c, 0x00000003,
4930x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x000000a0, 0x00000003,
4940x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000001, 0x00000002, 0x000000a5, 0x00000002,
4950x00000005, 0x00000004, 0xffffffff, 0x00000000, 0x00000001, 0x0000000c, 0x000000aa, 0x00000002,
4960x00000005, 0x00000004, 0xffffffff, 0x00000001, 0x00000001, 0x0000000c, 0x006d6173, 0x636d6173,
4970x78657400, 0x65740031, 0x4d003278, 0x6f726369, 0x74666f73, 0x29522820, 0x534c4820, 0x6853204c,
4980x72656461, 0x6d6f4320, 0x656c6970, 0x2e392072, 0x392e3932, 0x332e3235, 0x00313131, 0x4e475349,
4990x00000130, 0x00000008, 0x00000008, 0x000000c8, 0x00000000, 0x00000004, 0x00000001, 0x00000000,
5000x00000001, 0x000000e2, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x000000f0,
5010x00000000, 0x00000007, 0x00000001, 0x00000000, 0x00000004, 0x000000ff, 0x00000000, 0x00000009,
5020x00000001, 0x00000000, 0x00000008, 0x0000010e, 0x00000000, 0x00000000, 0x00000003, 0x00000001,
5030x00000303, 0x00000117, 0x00000000, 0x00000000, 0x00000003, 0x00000001, 0x00000004, 0x0000011d,
5040x00000003, 0x00000000, 0x00000003, 0x00000002, 0x0000000f, 0x00000123, 0x00000000, 0x00000001,
5050x00000003, 0x00000003, 0x0000000f, 0x525f5653, 0x65646e65, 0x72615472, 0x41746567, 0x79617272,
5060x65646e49, 0x56530078, 0x736e495f, 0x636e6174, 0x00444965, 0x505f5653, 0x696d6972, 0x65766974,
5070x53004449, 0x73495f56, 0x6e6f7246, 0x63614674, 0x45540065, 0x4f4f4358, 0x56004452, 0x45434146,
5080x4c4f4300, 0x5300524f, 0x6f705f56, 0x69746973, 0xab006e6f, 0x4e47534f, 0x00000088, 0x00000004,
5090x00000008, 0x00000068, 0x00000000, 0x00000000, 0x00000003, 0x00000000, 0x00000e01, 0x00000068,
5100x00000001, 0x00000000, 0x00000003, 0x00000001, 0x00000e01, 0x00000072, 0x00000000, 0x00000000,
5110x00000001, 0xffffffff, 0x00000e01, 0x0000007e, 0x00000000, 0x00000000, 0x00000003, 0xffffffff,
5120x00000e01, 0x545f5653, 0x65677261, 0x56530074, 0x766f435f, 0x67617265, 0x56530065, 0x7065445f,
5130xab006874, 0x52444853, 0x00000568, 0x00000041, 0x0000015a, 0x0100086a, 0x0300005a, 0x00106000,
5140x00000000, 0x0300085a, 0x00106000, 0x00000001, 0x04001858, 0x00107000, 0x00000000, 0x00005555,
5150x04001858, 0x00107000, 0x00000001, 0x00005555, 0x03001062, 0x00101032, 0x00000001, 0x03000065,
5160x00102012, 0x00000000, 0x03000065, 0x00102012, 0x00000001, 0x02000065, 0x0000f000, 0x02000065,
5170x0000c001, 0x02000068, 0x00000003, 0x09000045, 0x001000f2, 0x00000000, 0x00101046, 0x00000001,
5180x00107e46, 0x00000000, 0x00106000, 0x00000000, 0x0b000046, 0x00100012, 0x00000001, 0x00101046,
5190x00000001, 0x00107006, 0x00000000, 0x00106000, 0x00000001, 0x00004001, 0x3e99999a, 0x07000000,
5200x001000f2, 0x00000000, 0x00100e46, 0x00000000, 0x00100006, 0x00000001, 0x07000031, 0x00100012,
5210x00000001, 0x0010001a, 0x00000000, 0x00004001, 0x3dcccccd, 0x0304001f, 0x0010000a, 0x00000001,
5220x0b000046, 0x00100012, 0x00000001, 0x00101046, 0x00000001, 0x00107006, 0x00000001, 0x00106000,
5230x00000001, 0x00004001, 0x3ecccccd, 0x07000000, 0x001000f2, 0x00000001, 0x00100e46, 0x00000000,
5240x00100006, 0x00000001, 0x01000012, 0x07000031, 0x00100012, 0x00000002, 0x0010001a, 0x00000000,
5250x00004001, 0x3e4ccccd, 0x0304001f, 0x0010000a, 0x00000002, 0x0b000046, 0x00100012, 0x00000002,
5260x00101046, 0x00000001, 0x00107006, 0x00000001, 0x00106000, 0x00000001, 0x00004001, 0x3dcccccd,
5270x07000000, 0x001000f2, 0x00000001, 0x00100e46, 0x00000000, 0x00100006, 0x00000002, 0x01000012,
5280x07000031, 0x00100012, 0x00000002, 0x0010001a, 0x00000000, 0x00004001, 0x3e99999a, 0x0304001f,
5290x0010000a, 0x00000002, 0x0b00004a, 0x001000f2, 0x00000002, 0x00101046, 0x00000001, 0x00107e46,
5300x00000001, 0x00106000, 0x00000000, 0x00004001, 0x3dcccccd, 0x07000000, 0x001000f2, 0x00000001,
5310x00100e46, 0x00000000, 0x00100e46, 0x00000002, 0x01000012, 0x07000031, 0x00100012, 0x00000002,
5320x0010001a, 0x00000000, 0x00004001, 0x3ecccccd, 0x0304001f, 0x0010000a, 0x00000002, 0x0b00004a,
5330x001000f2, 0x00000002, 0x00101046, 0x00000001, 0x00107e46, 0x00000001, 0x00106000, 0x00000000,
5340x00004001, 0x3e4ccccd, 0x07000000, 0x001000f2, 0x00000001, 0x00100e46, 0x00000000, 0x00100e46,
5350x00000002, 0x01000012, 0x07000031, 0x00100012, 0x00000002, 0x0010001a, 0x00000000, 0x00004001,
5360x3f000000, 0x0304001f, 0x0010000a, 0x00000002, 0x0b00004a, 0x001000f2, 0x00000002, 0x00101046,
5370x00000001, 0x00107e46, 0x00000001, 0x00106000, 0x00000000, 0x00004001, 0x3e99999a, 0x07000000,
5380x001000f2, 0x00000001, 0x00100e46, 0x00000000, 0x00100e46, 0x00000002, 0x01000012, 0x0b00004a,
5390x001000f2, 0x00000002, 0x00101046, 0x00000001, 0x00107e46, 0x00000001, 0x00106000, 0x00000000,
5400x00004001, 0x3ecccccd, 0x07000000, 0x001000f2, 0x00000001, 0x00100e46, 0x00000000, 0x00100e46,
5410x00000002, 0x01000015, 0x01000015, 0x01000015, 0x01000015, 0x01000015, 0x0d000049, 0x001000f2,
5420x00000000, 0x00101046, 0x00000001, 0x00107e46, 0x00000001, 0x00106000, 0x00000000, 0x00100046,
5430x00000001, 0x00100046, 0x00000001, 0x07000000, 0x001000f2, 0x00000000, 0x00100e46, 0x00000000,
5440x00100e46, 0x00000001, 0x0d000049, 0x001000f2, 0x00000001, 0x00101046, 0x00000001, 0x00107e46,
5450x00000001, 0x00106000, 0x00000000, 0x00100086, 0x00000000, 0x00100086, 0x00000000, 0x07000000,
5460x001000f2, 0x00000000, 0x00100e46, 0x00000000, 0x00100e46, 0x00000001, 0x0d000049, 0x001000f2,
5470x00000001, 0x00101046, 0x00000001, 0x00107e46, 0x00000001, 0x00106000, 0x00000000, 0x00100086,
5480x00000000, 0x00100a66, 0x00000000, 0x07000000, 0x001000f2, 0x00000000, 0x00100e46, 0x00000000,
5490x00100e46, 0x00000001, 0x0d000049, 0x001000f2, 0x00000001, 0x00101046, 0x00000001, 0x00107e46,
5500x00000001, 0x00106000, 0x00000000, 0x00100086, 0x00000000, 0x00100ae6, 0x00000000, 0x07000000,
5510x001000f2, 0x00000000, 0x00100e46, 0x00000000, 0x00100e46, 0x00000001, 0x0d000049, 0x001000c2,
5520x00000000, 0x00101046, 0x00000001, 0x001074e6, 0x00000001, 0x00106000, 0x00000000, 0x00100086,
5530x00000000, 0x00100fb6, 0x00000000, 0x07000000, 0x00100032, 0x00000000, 0x00100ae6, 0x00000000,
5540x00100046, 0x00000000, 0x05000036, 0x00102012, 0x00000001, 0x0010001a, 0x00000000, 0x04000036,
5550x0000c001, 0x0010000a, 0x00000000, 0x05000036, 0x00102012, 0x00000000, 0x0010000a, 0x00000000,
5560x04000036, 0x0000f001, 0x00004001, 0xffffffff, 0x0100003e, 0x54415453, 0x00000074, 0x00000032,
5570x00000003, 0x00000000, 0x00000005, 0x00000011, 0x00000000, 0x00000000, 0x00000006, 0x00000005,
5580x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000003,
5590x00000004, 0x00000005, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
5600x00000000, 0x00000000, 0x00000000, 0x00000000,
587 ID3D11ShaderReflection *ref11;
597 hr = ref11->lpVtbl->GetDesc(ref11, &sdesc11);
600 ok(sdesc11.
Version == 65,
"GetDesc failed, got %u, expected %u\n", sdesc11.
Version, 65);
602 ok(sdesc11.
Flags == 256,
"GetDesc failed, got %u, expected %u\n", sdesc11.
Flags, 256);
610 ok(sdesc11.
DefCount == 0,
"GetDesc failed, got %u, expected %u\n", sdesc11.
DefCount, 0);
611 ok(sdesc11.
DclCount == 5,
"GetDesc failed, got %u, expected %u\n", sdesc11.
DclCount, 5);
639 ret = ref11->lpVtbl->GetBitwiseInstructionCount(ref11);
640 ok(
ret == 0,
"GetBitwiseInstructionCount failed, got %u, expected %u\n",
ret, 0);
642 ret = ref11->lpVtbl->GetConversionInstructionCount(ref11);
643 ok(
ret == 0,
"GetConversionInstructionCount failed, got %u, expected %u\n",
ret, 0);
645 ret = ref11->lpVtbl->GetMovInstructionCount(ref11);
646 ok(
ret == 24,
"GetMovInstructionCount failed, got %u, expected %u\n",
ret, 24);
648 ret = ref11->lpVtbl->GetMovcInstructionCount(ref11);
649 ok(
ret == 0,
"GetMovcInstructionCount failed, got %u, expected %u\n",
ret, 0);
652 hr = ref11->lpVtbl->GetInputParameterDesc(ref11, 0,
NULL);
655 hr = ref11->lpVtbl->GetInputParameterDesc(ref11, 0xffffffff, &
desc);
658 hr = ref11->lpVtbl->GetOutputParameterDesc(ref11, 0,
NULL);
661 hr = ref11->lpVtbl->GetOutputParameterDesc(ref11, 0xffffffff, &
desc);
664 hr = ref11->lpVtbl->GetPatchConstantParameterDesc(ref11, 0, &
desc);
672 hr = ref11->lpVtbl->GetInputParameterDesc(ref11,
i, &
desc);
673 ok(
hr ==
S_OK,
"GetInputParameterDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
675 ok(!
strcmp(
desc.SemanticName, pdesc->
SemanticName),
"GetInputParameterDesc(%u) SemanticName failed, got \"%s\", expected \"%s\"\n",
677 ok(
desc.SemanticIndex == pdesc->
SemanticIndex,
"GetInputParameterDesc(%u) SemanticIndex failed, got %u, expected %u\n",
679 ok(
desc.Register == pdesc->
Register,
"GetInputParameterDesc(%u) Register failed, got %u, expected %u\n",
681 ok(
desc.SystemValueType == pdesc->
SystemValueType,
"GetInputParameterDesc(%u) SystemValueType failed, got %x, expected %x\n",
683 ok(
desc.ComponentType == pdesc->
ComponentType,
"GetInputParameterDesc(%u) ComponentType failed, got %x, expected %x\n",
685 ok(
desc.Mask == pdesc->
Mask,
"GetInputParameterDesc(%u) Mask failed, got %x, expected %x\n",
687 ok(
desc.ReadWriteMask == pdesc->
ReadWriteMask,
"GetInputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x\n",
689 ok(
desc.Stream == pdesc->
Stream,
"GetInputParameterDesc(%u) Stream failed, got %u, expected %u\n",
697 hr = ref11->lpVtbl->GetOutputParameterDesc(ref11,
i, &
desc);
698 ok(
hr ==
S_OK,
"GetOutputParameterDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
700 ok(!
strcmp(
desc.SemanticName, pdesc->
SemanticName),
"GetOutputParameterDesc(%u) SemanticName failed, got \"%s\", expected \"%s\"\n",
702 ok(
desc.SemanticIndex == pdesc->
SemanticIndex,
"GetOutputParameterDesc(%u) SemanticIndex failed, got %u, expected %u\n",
704 ok(
desc.Register == pdesc->
Register,
"GetOutputParameterDesc(%u) Register failed, got %u, expected %u\n",
706 ok(
desc.SystemValueType == pdesc->
SystemValueType,
"GetOutputParameterDesc(%u) SystemValueType failed, got %x, expected %x\n",
708 ok(
desc.ComponentType == pdesc->
ComponentType,
"GetOutputParameterDesc(%u) ComponentType failed, got %x, expected %x\n",
710 ok(
desc.Mask == pdesc->
Mask,
"GetOutputParameterDesc(%u) Mask failed, got %x, expected %x\n",
712 ok(
desc.ReadWriteMask == pdesc->
ReadWriteMask,
"GetOutputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x\n",
714 ok(
desc.Stream == pdesc->
Stream,
"GetOutputParameterDesc(%u) Stream failed, got %u, expected %u\n",
718 count = ref11->lpVtbl->Release(ref11);
726float4
PS() : SV_Target3
728 float4
a = float4(1.2f, 1.0f, 0.2f, 0.0f);
7330x43425844, 0x3e7b77e6, 0xe4e920b7, 0x9cad0533, 0x240117cc, 0x00000001, 0x0000018c, 0x00000005,
7340x00000034, 0x0000008c, 0x0000009c, 0x000000d0, 0x00000110, 0x46454452, 0x00000050, 0x00000000,
7350x00000000, 0x00000000, 0x0000001c, 0xffff0400, 0x00000100, 0x0000001c, 0x7263694d, 0x666f736f,
7360x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
7370x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x00000008, 0x00000000, 0x00000008, 0x4e47534f,
7380x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000003, 0x00000000, 0x00000003, 0x00000003,
7390x0000000f, 0x545f5653, 0x65677261, 0xabab0074, 0x52444853, 0x00000038, 0x00000040, 0x0000000e,
7400x03000065, 0x001020f2, 0x00000003, 0x08000036, 0x001020f2, 0x00000003, 0x00004002, 0x3f99999a,
7410x3f800000, 0x3e4ccccd, 0x00000000, 0x0100003e, 0x54415453, 0x00000074, 0x00000002, 0x00000000,
7420x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000,
7430x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
7440x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
7450x00000000, 0x00000000, 0x00000000
752float PS() : SV_DepthLessEqual
7590x43425844, 0xd8ead3ec, 0x61276ada, 0x70cdaa9e, 0x2cfd7f4c, 0x00000001, 0x000001c4, 0x00000005,
7600x00000034, 0x000000ac, 0x000000bc, 0x000000f8, 0x00000128, 0x46454452, 0x00000070, 0x00000000,
7610x00000000, 0x00000000, 0x0000003c, 0xffff0500, 0x00000100, 0x0000003c, 0x31314452, 0x0000003c,
7620x00000018, 0x00000020, 0x00000028, 0x00000024, 0x0000000c, 0x00000000, 0x7263694d, 0x666f736f,
7630x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
7640x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x00000008, 0x00000000, 0x00000008, 0x4e47534f,
7650x00000034, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000, 0x00000003, 0xffffffff,
7660x00000e01, 0x445f5653, 0x68747065, 0x7373654c, 0x61757145, 0xabab006c, 0x58454853, 0x00000028,
7670x00000050, 0x0000000a, 0x0100086a, 0x02000065, 0x00027001, 0x04000036, 0x00027001, 0x00004001,
7680x3f99999a, 0x0100003e, 0x54415453, 0x00000094, 0x00000002, 0x00000000, 0x00000000, 0x00000001,
7690x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
7700x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001,
7710x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
7720x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
780float PS() : SV_DepthGreaterEqual
7870x43425844, 0x9f61c8df, 0x612cbb1f, 0x9e1d039e, 0xf925a074, 0x00000001, 0x000001c8, 0x00000005,
7880x00000034, 0x000000ac, 0x000000bc, 0x000000fc, 0x0000012c, 0x46454452, 0x00000070, 0x00000000,
7890x00000000, 0x00000000, 0x0000003c, 0xffff0500, 0x00000100, 0x0000003c, 0x31314452, 0x0000003c,
7900x00000018, 0x00000020, 0x00000028, 0x00000024, 0x0000000c, 0x00000000, 0x7263694d, 0x666f736f,
7910x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
7920x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x00000008, 0x00000000, 0x00000008, 0x4e47534f,
7930x00000038, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000, 0x00000003, 0xffffffff,
7940x00000e01, 0x445f5653, 0x68747065, 0x61657247, 0x45726574, 0x6c617571, 0xababab00, 0x58454853,
7950x00000028, 0x00000050, 0x0000000a, 0x0100086a, 0x02000065, 0x00026001, 0x04000036, 0x00026001,
7960x00004001, 0x3f99999a, 0x0100003e, 0x54415453, 0x00000094, 0x00000002, 0x00000000, 0x00000000,
7970x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000,
7980x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
7990x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8000x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8010x00000000, 0x00000000,
8150x43425844, 0x32cec0e6, 0x3873ed32, 0x2e86ffd0, 0x21bb00e8, 0x00000001, 0x000001bc, 0x00000005,
8160x00000034, 0x000000ac, 0x000000bc, 0x000000f0, 0x00000120, 0x46454452, 0x00000070, 0x00000000,
8170x00000000, 0x00000000, 0x0000003c, 0xffff0500, 0x00000100, 0x0000003c, 0x31314452, 0x0000003c,
8180x00000018, 0x00000020, 0x00000028, 0x00000024, 0x0000000c, 0x00000000, 0x7263694d, 0x666f736f,
8190x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
8200x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x00000008, 0x00000000, 0x00000008, 0x4e47534f,
8210x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000, 0x00000003, 0xffffffff,
8220x00000e01, 0x445f5673, 0x48745065, 0xababab00, 0x58454853, 0x00000028, 0x00000050, 0x0000000a,
8230x0100086a, 0x02000065, 0x0000c001, 0x04000036, 0x0000c001, 0x00004001, 0x3f99999a, 0x0100003e,
8240x54415453, 0x00000094, 0x00000002, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000,
8250x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8260x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000,
8270x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8280x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8420x43425844, 0x7af34874, 0x975f09ad, 0xf6e50764, 0xdfb1255f, 0x00000001, 0x00000178, 0x00000005,
8430x00000034, 0x0000008c, 0x0000009c, 0x000000d0, 0x000000fc, 0x46454452, 0x00000050, 0x00000000,
8440x00000000, 0x00000000, 0x0000001c, 0xffff0400, 0x00000100, 0x0000001c, 0x7263694d, 0x666f736f,
8450x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
8460x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x00000008, 0x00000000, 0x00000008, 0x4e47534f,
8470x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000, 0x00000003, 0xffffffff,
8480x00000e01, 0x445f5653, 0x68747065, 0xababab00, 0x52444853, 0x00000024, 0x00000040, 0x00000009,
8490x02000065, 0x0000c001, 0x04000036, 0x0000c001, 0x00004001, 0x3f99999a, 0x0100003e, 0x54415453,
8500x00000074, 0x00000002, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000,
8510x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8520x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000,
8530x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
860bool PS() : SV_COVERAGE
8670x43425844, 0x40ae32a7, 0xe944bb1c, 0x1a2b1923, 0xea25962d, 0x00000001, 0x000001bc, 0x00000005,
8680x00000034, 0x000000ac, 0x000000bc, 0x000000f0, 0x00000120, 0x46454452, 0x00000070, 0x00000000,
8690x00000000, 0x00000000, 0x0000003c, 0xffff0500, 0x00000100, 0x0000003c, 0x31314452, 0x0000003c,
8700x00000018, 0x00000020, 0x00000028, 0x00000024, 0x0000000c, 0x00000000, 0x7263694d, 0x666f736f,
8710x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072, 0x6c69706d, 0x39207265, 0x2e39322e,
8720x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x00000008, 0x00000000, 0x00000008, 0x4e47534f,
8730x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000, 0x00000001, 0xffffffff,
8740x00000e01, 0x435f5653, 0x5245564f, 0x00454741, 0x58454853, 0x00000028, 0x00000050, 0x0000000a,
8750x0100086a, 0x02000065, 0x0000f000, 0x04000036, 0x0000f001, 0x00004001, 0xffffffff, 0x0100003e,
8760x54415453, 0x00000094, 0x00000002, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000,
8770x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8780x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000,
8790x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8800x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
906 ID3D11ShaderReflection *ref11;
914 ok(
hr ==
S_OK,
"(%u): D3DReflect failed %x\n",
i,
hr);
918 hr = ref11->lpVtbl->GetOutputParameterDesc(ref11, 0, &
desc);
919 ok(
hr ==
S_OK,
"(%u): GetOutputParameterDesc failed, got %x, expected %x\n",
i,
hr,
S_OK);
921 ok(!
strcmp(
desc.SemanticName, pdesc->
SemanticName),
"(%u): GetOutputParameterDesc SemanticName failed, got \"%s\", expected \"%s\"\n",
923 ok(
desc.SemanticIndex == pdesc->
SemanticIndex,
"(%u): GetOutputParameterDesc SemanticIndex failed, got %u, expected %u\n",
925 ok(
desc.Register == pdesc->
Register,
"(%u): GetOutputParameterDesc Register failed, got %u, expected %u\n",
927 ok(
desc.SystemValueType == pdesc->
SystemValueType,
"(%u): GetOutputParameterDesc SystemValueType failed, got %x, expected %x\n",
929 ok(
desc.ComponentType == pdesc->
ComponentType,
"(%u): GetOutputParameterDesc ComponentType failed, got %x, expected %x\n",
931 ok(
desc.Mask == pdesc->
Mask,
"(%u): GetOutputParameterDesc Mask failed, got %x, expected %x\n",
933 ok(
desc.ReadWriteMask == pdesc->
ReadWriteMask,
"(%u): GetOutputParameterDesc ReadWriteMask failed, got %x, expected %x\n",
935 ok(
desc.Stream == pdesc->
Stream,
"(%u): GetOutputParameterDesc Stream failed, got %u, expected %u\n",
950 Filter = MIN_MAG_MIP_LINEAR;
965float4
PS(float2 uv : TEXCOORD0) : sv_target
967 float4
q = tex1.Sample(
sam, uv);
969 q.w =
q.w +
y[0] +
y[1] +
t;
9740x43425844, 0xe4af0279, 0x690268fc, 0x76bf6a72, 0xe5aff43b, 0x00000001, 0x000003f4, 0x00000005,
9750x00000034, 0x000001e8, 0x0000021c, 0x00000250, 0x00000378, 0x46454452, 0x000001ac, 0x00000002,
9760x000000ac, 0x00000004, 0x0000001c, 0xffff0400, 0x00000100, 0x0000017a, 0x0000009c, 0x00000003,
9770x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x000000a0, 0x00000002,
9780x00000005, 0x00000004, 0xffffffff, 0x00000000, 0x00000001, 0x0000000c, 0x000000a5, 0x00000000,
9790x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x000000a8, 0x00000000,
9800x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000001, 0x00000000, 0x006d6173, 0x31786574,
9810x00316300, 0xab003263, 0x000000a5, 0x00000003, 0x000000dc, 0x00000030, 0x00000000, 0x00000000,
9820x000000a8, 0x00000001, 0x00000160, 0x00000010, 0x00000000, 0x00000000, 0x00000124, 0x00000000,
9830x00000004, 0x00000002, 0x00000128, 0x00000000, 0x00000138, 0x00000010, 0x00000014, 0x00000002,
9840x0000013c, 0x00000000, 0x0000014c, 0x00000024, 0x00000004, 0x00000000, 0x00000150, 0x00000000,
9850xabab0078, 0x00030000, 0x00010001, 0x00000000, 0x00000000, 0xabab0079, 0x00030000, 0x00010001,
9860x00000002, 0x00000000, 0xabab007a, 0x00020000, 0x00010001, 0x00000000, 0x00000000, 0x00000178,
9870x00000000, 0x00000004, 0x00000002, 0x00000128, 0x00000000, 0x694d0074, 0x736f7263, 0x2074666f,
9880x20295228, 0x4c534c48, 0x61685320, 0x20726564, 0x706d6f43, 0x72656c69, 0x322e3920, 0x35392e39,
9890x31332e32, 0xab003131, 0x4e475349, 0x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000,
9900x00000000, 0x00000003, 0x00000000, 0x00000303, 0x43584554, 0x44524f4f, 0xababab00, 0x4e47534f,
9910x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000, 0x00000003, 0x00000000,
9920x0000000f, 0x745f7673, 0x65677261, 0xabab0074, 0x52444853, 0x00000120, 0x00000040, 0x00000048,
9930x04000059, 0x00208e46, 0x00000000, 0x00000003, 0x04000059, 0x00208e46, 0x00000001, 0x00000001,
9940x0300005a, 0x00106000, 0x00000000, 0x04001858, 0x00107000, 0x00000000, 0x00005555, 0x03001062,
9950x00101032, 0x00000000, 0x03000065, 0x001020f2, 0x00000000, 0x02000068, 0x00000001, 0x09000045,
9960x001000f2, 0x00000000, 0x00101046, 0x00000000, 0x00107e46, 0x00000000, 0x00106000, 0x00000000,
9970x08000000, 0x00100082, 0x00000000, 0x0010003a, 0x00000000, 0x0020800a, 0x00000000, 0x00000001,
9980x08000000, 0x00100082, 0x00000000, 0x0010003a, 0x00000000, 0x0020800a, 0x00000000, 0x00000002,
9990x08000000, 0x00102082, 0x00000000, 0x0010003a, 0x00000000, 0x0020800a, 0x00000001, 0x00000000,
10000x08000000, 0x00102012, 0x00000000, 0x0010000a, 0x00000000, 0x0020800a, 0x00000000, 0x00000000,
10010x05000036, 0x00102062, 0x00000000, 0x00100656, 0x00000000, 0x0100003e, 0x54415453, 0x00000074,
10020x00000007, 0x00000001, 0x00000000, 0x00000002, 0x00000004, 0x00000000, 0x00000000, 0x00000001,
10030x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000,
10040x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
10050x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
1020 ID3D11ShaderReflection *ref11;
1026 ok(
hr ==
S_OK,
"D3DReflect failed %x\n",
hr);
1029 hr = ref11->lpVtbl->GetResourceBindingDesc(ref11, 0,
NULL);
1032 hr = ref11->lpVtbl->GetResourceBindingDesc(ref11, 0xffffffff, &
desc);
1035 hr = ref11->lpVtbl->GetResourceBindingDescByName(ref11,
NULL, &
desc);
1038 hr = ref11->lpVtbl->GetResourceBindingDescByName(ref11,
"sam",
NULL);
1041 hr = ref11->lpVtbl->GetResourceBindingDescByName(ref11,
"invalid",
NULL);
1044 hr = ref11->lpVtbl->GetResourceBindingDescByName(ref11,
"invalid", &
desc);
1052 hr = ref11->lpVtbl->GetResourceBindingDesc(ref11,
i, &
desc);
1053 ok(
hr ==
S_OK,
"GetResourceBindingDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
1055 ok(!
strcmp(
desc.Name, pdesc->
Name),
"GetResourceBindingDesc(%u) Name failed, got \"%s\", expected \"%s\"\n",
1057 ok(
desc.Type == pdesc->
Type,
"GetResourceBindingDesc(%u) Type failed, got %x, expected %x\n",
1059 ok(
desc.BindPoint == pdesc->
BindPoint,
"GetResourceBindingDesc(%u) BindPoint failed, got %u, expected %u\n",
1061 ok(
desc.BindCount == pdesc->
BindCount,
"GetResourceBindingDesc(%u) BindCount failed, got %u, expected %u\n",
1063 ok(
desc.uFlags == pdesc->
uFlags,
"GetResourceBindingDesc(%u) uFlags failed, got %u, expected %u\n",
1065 ok(
desc.ReturnType == pdesc->
ReturnType,
"GetResourceBindingDesc(%u) ReturnType failed, got %x, expected %x\n",
1067 ok(
desc.Dimension == pdesc->
Dimension,
"GetResourceBindingDesc(%u) Dimension failed, got %x, expected %x\n",
1069 ok(
desc.NumSamples == pdesc->
NumSamples,
"GetResourceBindingDesc(%u) NumSamples failed, got %u, expected %u\n",
1078 hr = ref11->lpVtbl->GetResourceBindingDescByName(ref11, pdesc->
Name, &
desc);
1079 ok(
hr ==
S_OK,
"GetResourceBindingDescByName(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
1081 ok(!
strcmp(
desc.Name, pdesc->
Name),
"GetResourceBindingDescByName(%u) Name failed, got \"%s\", expected \"%s\"\n",
1083 ok(
desc.Type == pdesc->
Type,
"GetResourceBindingDescByName(%u) Type failed, got %x, expected %x\n",
1085 ok(
desc.BindPoint == pdesc->
BindPoint,
"GetResourceBindingDescByName(%u) BindPoint failed, got %u, expected %u\n",
1087 ok(
desc.BindCount == pdesc->
BindCount,
"GetResourceBindingDescByName(%u) BindCount failed, got %u, expected %u\n",
1089 ok(
desc.uFlags == pdesc->
uFlags,
"GetResourceBindingDescByName(%u) uFlags failed, got %u, expected %u\n",
1091 ok(
desc.ReturnType == pdesc->
ReturnType,
"GetResourceBindingDescByName(%u) ReturnType failed, got %x, expected %x\n",
1093 ok(
desc.Dimension == pdesc->
Dimension,
"GetResourceBindingDescByName(%u) Dimension failed, got %x, expected %x\n",
1095 ok(
desc.NumSamples == pdesc->
NumSamples,
"GetResourceBindingDescByName(%u) NumSamples failed, got %u, expected %u\n",
1099 count = ref11->lpVtbl->Release(ref11);
1129float4 cTest::test(float2
vec)
1142float4
PS(float2 uv : TEXCOORD0) : sv_target
1144 float4
q = g_Test.test(uv);
11500x43425844, 0xe6470e0d, 0x0d5698bb, 0x29373c30, 0x64a5d268, 0x00000001, 0x00000590, 0x00000006,
11510x00000038, 0x00000318, 0x0000034c, 0x00000380, 0x000003d8, 0x000004f4, 0x46454452, 0x000002d8,
11520x00000002, 0x00000060, 0x00000001, 0x0000003c, 0xffff0500, 0x00000100, 0x000002a4, 0x31314452,
11530x0000003c, 0x00000018, 0x00000020, 0x00000028, 0x00000024, 0x0000000c, 0x00000001, 0x0000005c,
11540x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0xab003163,
11550x00000090, 0x00000001, 0x000000a0, 0x00000010, 0x00000000, 0x00000002, 0x0000005c, 0x00000004,
11560x00000120, 0x00000040, 0x00000000, 0x00000000, 0x69685424, 0x696f5073, 0x7265746e, 0xababab00,
11570x000000c8, 0x00000000, 0x00000001, 0x00000006, 0x000000fc, 0x00000000, 0xffffffff, 0x00000000,
11580xffffffff, 0x00000000, 0x65545f67, 0x69007473, 0x74736554, 0xababab00, 0x00000006, 0x00000001,
11590x00000000, 0x000000d8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000cf, 0x00250007,
11600x00040001, 0x00000000, 0x00000000, 0x000000d8, 0x00000000, 0x00000000, 0x00000000, 0x000000cf,
11610x000001c0, 0x00000000, 0x00000004, 0x00000000, 0x000001c8, 0x00000000, 0xffffffff, 0x00000000,
11620xffffffff, 0x00000000, 0x000001ec, 0x00000010, 0x00000014, 0x00000000, 0x000001f0, 0x00000000,
11630xffffffff, 0x00000000, 0xffffffff, 0x00000000, 0x00000214, 0x00000024, 0x00000004, 0x00000000,
11640x0000021c, 0x00000000, 0xffffffff, 0x00000000, 0xffffffff, 0x00000000, 0x00000240, 0x00000030,
11650x00000008, 0x00000002, 0x00000280, 0x00000000, 0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
11660x6c660061, 0x0074616f, 0x00030000, 0x00010001, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
11670x00000000, 0x00000000, 0x000001c2, 0xabab0062, 0x00030000, 0x00010001, 0x00000002, 0x00000000,
11680x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000001c2, 0x6e690069, 0xabab0074, 0x00020000,
11690x00010001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000216,
11700x00730074, 0x00030000, 0x00010001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
11710x00000000, 0x000001c2, 0x000001c0, 0x00000244, 0x00000000, 0x000001ec, 0x00000244, 0x00000004,
11720x00000005, 0x00020001, 0x00020000, 0x00000268, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
11730x00000242, 0x7263694d, 0x666f736f, 0x52282074, 0x4c482029, 0x53204c53, 0x65646168, 0x6f432072,
11740x6c69706d, 0x39207265, 0x2e39322e, 0x2e323539, 0x31313133, 0xababab00, 0x4e475349, 0x0000002c,
11750x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000, 0x00000003, 0x00000000, 0x00000303,
11760x43584554, 0x44524f4f, 0xababab00, 0x4e47534f, 0x0000002c, 0x00000001, 0x00000008, 0x00000020,
11770x00000000, 0x00000000, 0x00000003, 0x00000000, 0x0000000f, 0x745f7673, 0x65677261, 0xabab0074,
11780x45434649, 0x00000050, 0x00000000, 0x00000001, 0x00000001, 0x00000001, 0x00000040, 0x00000034,
11790x00000024, 0x00000000, 0x4e47534f, 0x00000001, 0x00000001, 0x00000040, 0x00000044, 0x00000048,
11800x00010000, 0x00000000, 0xabab0000, 0x00000000, 0x73655463, 0xabab0074, 0x58454853, 0x00000114,
11810x00000050, 0x00000045, 0x0100086a, 0x04000059, 0x00208e46, 0x00000000, 0x00000004, 0x03000091,
11820x00000000, 0x00000000, 0x05000092, 0x00000000, 0x00000000, 0x00010001, 0x00000000, 0x03001062,
11830x00101032, 0x00000000, 0x03000065, 0x001020f2, 0x00000000, 0x02000068, 0x00000002, 0x07000000,
11840x00100042, 0x00000000, 0x0010101a, 0x00000000, 0x0010100a, 0x00000000, 0x05000036, 0x00100032,
11850x00000000, 0x00101046, 0x00000000, 0x05000036, 0x00100082, 0x00000000, 0x00004001, 0x00000000,
11860x05000036, 0x00100032, 0x00000001, 0x0011d516, 0x00000000, 0x0a000001, 0x001000f2, 0x00000000,
11870x00100e46, 0x00000000, 0x04a08006, 0x0010001a, 0x00000001, 0x0010000a, 0x00000001, 0x08000000,
11880x00102012, 0x00000000, 0x0010000a, 0x00000000, 0x0020800a, 0x00000000, 0x00000003, 0x05000036,
11890x001020e2, 0x00000000, 0x00100e56, 0x00000000, 0x0100003e, 0x54415453, 0x00000094, 0x00000008,
11900x00000002, 0x00000000, 0x00000002, 0x00000002, 0x00000000, 0x00000001, 0x00000001, 0x00000000,
11910x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
11920x00000000, 0x00000000, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
11930x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
11940x00000000, 0x00000000, 0x00000000, 0x00000000,
1203static const struct {
1208 {{
"g_Test", 0, 1, 6, 0}, 0},
1209 {{
"a", 0, 4, 0, 0}, 1},
1210 {{
"b", 16, 20, 0, 0}, 2},
1211 {{
"i", 36, 4, 0, 0}, 3},
1212 {{
"t", 48, 8, 2, 0}, 4},
1228 ID3D11ShaderReflection *ref11;
1229 ID3D11ShaderReflectionConstantBuffer *cb11, *cb11_dummy =
NULL, *cb11_valid =
NULL;
1230 ID3D11ShaderReflectionVariable *v11, *v11_dummy =
NULL, *v11_valid =
NULL;
1231 ID3D11ShaderReflectionType *t11, *
t, *t2, *t11_dummy =
NULL, *t11_valid =
NULL;
1243 ok(
hr ==
S_OK,
"D3DReflect failed %x\n",
hr);
1245 hr = ref11->lpVtbl->GetDesc(ref11, &sdesc);
1248 ok(sdesc.
Version == 80,
"GetDesc failed, got %u, expected %u\n", sdesc.
Version, 80);
1250 ok(sdesc.
Flags == 256,
"GetDesc failed, got %u, expected %u\n", sdesc.
Flags, 256);
1288 cb11_dummy = ref11->lpVtbl->GetConstantBufferByIndex(ref11, 0xffffffff);
1289 ok(cb11_dummy !=
NULL,
"GetConstantBufferByIndex failed\n");
1291 v11_dummy = cb11_dummy->lpVtbl->GetVariableByIndex(cb11_dummy, 0xffffffff);
1292 ok(v11_dummy !=
NULL,
"GetVariableByIndex failed\n");
1294 t11_dummy = v11_dummy->lpVtbl->GetType(v11_dummy);
1295 ok(t11_dummy !=
NULL,
"GetType failed\n");
1298 cb11_valid = ref11->lpVtbl->GetConstantBufferByIndex(ref11, 1);
1299 ok(cb11_valid != cb11_dummy && cb11_valid,
"GetConstantBufferByIndex failed\n");
1301 v11_valid = cb11_valid->lpVtbl->GetVariableByIndex(cb11_valid, 0);
1302 ok(v11_valid != v11_dummy && v11_valid,
"GetVariableByIndex failed\n");
1304 t11_valid = v11_valid->lpVtbl->GetType(v11_valid);
1305 ok(t11_valid != t11_dummy && t11_valid,
"GetType failed\n");
1308 cb11 = ref11->lpVtbl->GetConstantBufferByName(ref11,
"invalid");
1309 ok(cb11_dummy == cb11,
"GetConstantBufferByName failed, got %p, expected %p\n", cb11, cb11_dummy);
1311 cb11 = ref11->lpVtbl->GetConstantBufferByName(ref11,
NULL);
1312 ok(cb11_dummy == cb11,
"GetConstantBufferByName failed, got %p, expected %p\n", cb11, cb11_dummy);
1314 v11 = ref11->lpVtbl->GetVariableByName(ref11,
NULL);
1315 ok(v11_dummy == v11,
"GetVariableByIndex failed, got %p, expected %p\n", v11, v11_dummy);
1317 v11 = ref11->lpVtbl->GetVariableByName(ref11,
"invalid");
1318 ok(v11_dummy == v11,
"GetVariableByName failed, got %p, expected %p\n", v11, v11_dummy);
1320 v11 = ref11->lpVtbl->GetVariableByName(ref11,
"a");
1321 ok(v11_valid == v11,
"GetVariableByName failed, got %p, expected %p\n", v11, v11_valid);
1324 v11 = cb11_dummy->lpVtbl->GetVariableByName(cb11_dummy,
NULL);
1325 ok(v11_dummy == v11,
"GetVariableByName failed, got %p, expected %p\n", v11, v11_dummy);
1327 v11 = cb11_dummy->lpVtbl->GetVariableByName(cb11_dummy,
"invalid");
1328 ok(v11_dummy == v11,
"GetVariableByName failed, got %p, expected %p\n", v11, v11_dummy);
1330 v11 = cb11_valid->lpVtbl->GetVariableByName(cb11_valid,
NULL);
1331 ok(v11_dummy == v11,
"GetVariableByName failed, got %p, expected %p\n", v11, v11_dummy);
1333 v11 = cb11_valid->lpVtbl->GetVariableByName(cb11_valid,
"invalid");
1334 ok(v11_dummy == v11,
"GetVariableByName failed, got %p, expected %p\n", v11, v11_dummy);
1336 v11 = cb11_valid->lpVtbl->GetVariableByName(cb11_valid,
"a");
1337 ok(v11_valid == v11,
"GetVariableByName failed, got %p, expected %p\n", v11, v11_valid);
1339 hr = cb11_dummy->lpVtbl->GetDesc(cb11_dummy,
NULL);
1342 hr = cb11_dummy->lpVtbl->GetDesc(cb11_dummy, &cbdesc);
1345 hr = cb11_valid->lpVtbl->GetDesc(cb11_valid,
NULL);
1349 hr = v11_dummy->lpVtbl->GetDesc(v11_dummy,
NULL);
1352 hr = v11_dummy->lpVtbl->GetDesc(v11_dummy, &vdesc);
1355 hr = v11_valid->lpVtbl->GetDesc(v11_valid,
NULL);
1359 hr = t11_dummy->lpVtbl->GetDesc(t11_dummy,
NULL);
1362 hr = t11_dummy->lpVtbl->GetDesc(t11_dummy, &tdesc);
1365 hr = t11_valid->lpVtbl->GetDesc(t11_valid,
NULL);
1368 string = t11_dummy->lpVtbl->GetMemberTypeName(t11_dummy, 0xffffffff);
1369 ok(!
strcmp(
string,
"$Invalid"),
"GetMemberTypeName failed, got \"%s\", expected \"%s\"\n",
string,
"$Invalid");
1371 string = t11_valid->lpVtbl->GetMemberTypeName(t11_valid, 0xffffffff);
1372 ok(!
string,
"GetMemberTypeName failed, got \"%s\", expected NULL\n",
string);
1374 t11 = t11_dummy->lpVtbl->GetMemberTypeByIndex(t11_dummy, 0xffffffff);
1375 ok(t11_dummy == t11,
"GetMemberTypeByIndex failed, got %p, expected %p\n", t11, t11_dummy);
1377 t11 = t11_valid->lpVtbl->GetMemberTypeByIndex(t11_valid, 0xffffffff);
1378 ok(t11_dummy == t11,
"GetMemberTypeByIndex failed, got %p, expected %p\n", t11, t11_dummy);
1380 t11 = t11_dummy->lpVtbl->GetMemberTypeByName(t11_dummy,
NULL);
1381 ok(t11_dummy == t11,
"GetMemberTypeByName failed, got %p, expected %p\n", t11, t11_dummy);
1383 t11 = t11_dummy->lpVtbl->GetMemberTypeByName(t11_dummy,
"invalid");
1384 ok(t11_dummy == t11,
"GetMemberTypeByName failed, got %p, expected %p\n", t11, t11_dummy);
1386 t11 = t11_valid->lpVtbl->GetMemberTypeByName(t11_valid,
NULL);
1387 ok(t11_dummy == t11,
"GetMemberTypeByName failed, got %p, expected %p\n", t11, t11_dummy);
1389 t11 = t11_valid->lpVtbl->GetMemberTypeByName(t11_valid,
"invalid");
1390 ok(t11_dummy == t11,
"GetMemberTypeByName failed, got %p, expected %p\n", t11, t11_dummy);
1392 hr = t11_dummy->lpVtbl->IsEqual(t11_dummy, t11_dummy);
1395 hr = t11_valid->lpVtbl->IsEqual(t11_valid, t11_dummy);
1398 hr = t11_dummy->lpVtbl->IsEqual(t11_dummy, t11_valid);
1401 hr = t11_valid->lpVtbl->IsEqual(t11_valid, t11_valid);
1402 ok(
hr ==
S_OK,
"IsEqual failed, got %x, expected %x\n",
hr,
S_OK);
1409 cb11 = ref11->lpVtbl->GetConstantBufferByIndex(ref11,
i);
1410 ok(cb11_dummy != cb11,
"GetConstantBufferByIndex(%u) failed\n",
i);
1412 hr = cb11->lpVtbl->GetDesc(cb11, &cbdesc);
1413 ok(
hr ==
S_OK,
"GetDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
1415 ok(!
strcmp(cbdesc.
Name, pcbdesc->
Name),
"GetDesc(%u) Name failed, got \"%s\", expected \"%s\"\n",
1417 ok(cbdesc.
Type == pcbdesc->
Type,
"GetDesc(%u) Type failed, got %x, expected %x\n",
1419 ok(cbdesc.
Variables == pcbdesc->
Variables,
"GetDesc(%u) Variables failed, got %u, expected %u\n",
1421 ok(cbdesc.
Size == pcbdesc->
Size,
"GetDesc(%u) Size failed, got %u, expected %u\n",
1423 ok(cbdesc.
uFlags == pcbdesc->
uFlags,
"GetDesc(%u) uFlags failed, got %u, expected %u\n",
1432 v11 = ref11->lpVtbl->GetVariableByName(ref11, pvdesc->
Name);
1433 ok(v11_dummy != v11,
"GetVariableByName(%u) failed\n",
i);
1435 hr = v11->lpVtbl->GetDesc(v11, &vdesc);
1436 ok(
hr ==
S_OK,
"GetDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
1438 ok(!
strcmp(vdesc.
Name, pvdesc->
Name),
"GetDesc(%u) Name failed, got \"%s\", expected \"%s\"\n",
1442 ok(vdesc.
Size == pvdesc->
Size,
"GetDesc(%u) Size failed, got %u, expected %u\n",
1444 ok(vdesc.
uFlags == pvdesc->
uFlags,
"GetDesc(%u) uFlags failed, got %u, expected %u\n",
1451 t11 = v11->lpVtbl->GetType(v11);
1452 ok(t11_dummy != t11,
"GetType(%u) failed\n",
i);
1454 hr = t11->lpVtbl->GetDesc(t11, &tdesc);
1455 ok(
hr ==
S_OK,
"GetDesc(%u) failed, got %x, expected %x\n",
i,
hr,
S_OK);
1457 ok(tdesc.
Class == ptdesc->
Class,
"GetDesc(%u) Class failed, got %x, expected %x\n",
1459 ok(tdesc.
Type == ptdesc->
Type,
"GetDesc(%u) Type failed, got %x, expected %x\n",
1461 ok(tdesc.
Rows == ptdesc->
Rows,
"GetDesc(%u) Rows failed, got %x, expected %x\n",
1463 ok(tdesc.
Columns == ptdesc->
Columns,
"GetDesc(%u) Columns failed, got %u, expected %u\n",
1465 ok(tdesc.
Elements == ptdesc->
Elements,
"GetDesc(%u) Elements failed, got %u, expected %u\n",
1467 ok(tdesc.
Offset == ptdesc->
Offset,
"GetDesc(%u) Offset failed, got %u, expected %u\n",
1469 ok(!
strcmp(tdesc.
Name, ptdesc->
Name),
"GetDesc(%u) Name failed, got %s, expected %s\n",
1474 v11 = ref11->lpVtbl->GetVariableByName(ref11,
"t");
1475 ok(v11_dummy != v11,
"GetVariableByName failed\n");
1477 t11 = v11->lpVtbl->GetType(v11);
1478 ok(t11 != t11_dummy,
"GetType failed\n");
1480 t = t11->lpVtbl->GetMemberTypeByIndex(t11, 0);
1481 ok(
t != t11_dummy,
"GetMemberTypeByIndex failed\n");
1483 t2 = t11->lpVtbl->GetMemberTypeByName(t11,
"a");
1484 ok(
t == t2,
"GetMemberTypeByName failed, got %p, expected %p\n", t2,
t);
1486 string = t11->lpVtbl->GetMemberTypeName(t11, 0);
1487 ok(!
strcmp(
string,
"a"),
"GetMemberTypeName failed, got \"%s\", expected \"%s\"\n",
string,
"a");
1489 t = t11->lpVtbl->GetMemberTypeByIndex(t11, 1);
1490 ok(
t != t11_dummy,
"GetMemberTypeByIndex failed\n");
1492 t2 = t11->lpVtbl->GetMemberTypeByName(t11,
"b");
1493 ok(
t == t2,
"GetMemberTypeByName failed, got %p, expected %p\n", t2,
t);
1495 string = t11->lpVtbl->GetMemberTypeName(t11, 1);
1496 ok(!
strcmp(
string,
"b"),
"GetMemberTypeName failed, got \"%s\", expected \"%s\"\n",
string,
"b");
1499 hr = t11->lpVtbl->IsEqual(t11, t11_valid);
1502 hr = t11_valid->lpVtbl->IsEqual(t11_valid, t11);
1506 t = t11->lpVtbl->GetMemberTypeByIndex(t11, 0);
1507 ok(
t != t11_dummy,
"GetMemberTypeByIndex failed\n");
1509 t2 = t11->lpVtbl->GetMemberTypeByIndex(t11, 1);
1510 ok(t2 != t11_dummy,
"GetMemberTypeByIndex failed\n");
1512 hr =
t->lpVtbl->IsEqual(
t, t2);
1513 ok(
hr ==
S_OK,
"IsEqual failed, got %x, expected %x\n",
hr,
S_OK);
1515 count = ref11->lpVtbl->Release(ref11);
1533 win_skip(
"Could not load d3dcompiler_43.dll\n");
int strcmp(const char *String1, const char *String2)
@ D3D11_SVC_INTERFACE_POINTER
@ D3D11_SVT_INTERFACE_POINTER
@ D3D_SRV_DIMENSION_TEXTURE2D
@ D3D_SRV_DIMENSION_UNKNOWN
@ D3D_NAME_RENDER_TARGET_ARRAY_INDEX
@ D3D_NAME_DEPTH_LESS_EQUAL
@ D3D11_NAME_DEPTH_GREATER_EQUAL
@ D3D_CT_INTERFACE_POINTERS
@ D3D_REGISTER_COMPONENT_FLOAT32
@ D3D_REGISTER_COMPONENT_UINT32
#define D3DERR_INVALIDCALL
#define GetProcAddress(x, y)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLsizei count
GLdouble GLdouble GLdouble GLdouble q
GLboolean GLboolean GLboolean b
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble w1
GLboolean GLboolean GLboolean GLboolean a
GLfloat GLfloat GLfloat GLfloat h
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
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
static const WCHAR desc[]
static const struct @1654 test_reflection_constant_buffer_variable_result[]
static const D3D11_SIGNATURE_PARAMETER_DESC test_reflection_desc_ps_resultin[]
static const D3D11_SIGNATURE_PARAMETER_DESC test_reflection_desc_ps_output_result[]
static void test_reflection_references(void)
static DWORD test_reflection_bound_resources_blob[]
static const DWORD test_reflection_desc_ps_output_blob_4[]
static const D3D11_SHADER_TYPE_DESC test_reflection_constant_buffer_type_result[]
static const D3D11_SHADER_BUFFER_DESC test_reflection_constant_buffer_cb_result[]
static DWORD test_reflection_desc_ps_blob[]
static void test_reflection_desc_vs(void)
static void test_reflection_constant_buffer(void)
static void **static DWORD shader_creator[]
static const D3D11_SIGNATURE_PARAMETER_DESC test_reflection_desc_ps_resultout[]
static const DWORD test_reflection_desc_ps_output_blob_1[]
static const DWORD * test_reflection_desc_ps_output_blob[]
static const DWORD test_reflection_desc_ps_output_blob_3[]
static void test_reflection_desc_ps_output(void)
static const D3D11_SHADER_INPUT_BIND_DESC test_reflection_bound_resources_result[]
static const D3D11_SIGNATURE_PARAMETER_DESC test_reflection_desc_vs_resultout[]
static void test_reflection_bound_resources(void)
static void test_reflection_desc_ps(void)
static const DWORD test_reflection_desc_ps_output_blob_5[]
static const DWORD test_reflection_desc_ps_output_blob_0[]
static DWORD test_reflection_desc_vs_blob[]
static const D3D11_SIGNATURE_PARAMETER_DESC test_reflection_desc_vs_resultin[]
static DWORD test_reflection_blob[]
static DWORD test_reflection_constant_buffer_blob[]
static const DWORD test_reflection_desc_ps_output_blob_2[]
static BOOL load_d3dcompiler(void)
UINT TextureCompInstructions
D3D_TESSELLATOR_PARTITIONING HSPartitioning
UINT GSMaxOutputVertexCount
UINT TextureGradientInstructions
UINT PatchConstantParameters
UINT TextureBiasInstructions
UINT StaticFlowControlCount
D3D_PRIMITIVE InputPrimitive
D3D_PRIMITIVE_TOPOLOGY GSOutputTopology
D3D_TESSELLATOR_DOMAIN TessellatorDomain
UINT cInterlockedInstructions
UINT TextureLoadInstructions
UINT UintInstructionCount
UINT DynamicFlowControlCount
UINT EmitInstructionCount
D3D_TESSELLATOR_OUTPUT_PRIMITIVE HSOutputPrimitive
UINT cBarrierInstructions
UINT cTextureStoreInstructions
UINT TextureNormalInstructions
UINT MacroInstructionCount
UINT FloatInstructionCount
UINT ArrayInstructionCount
D3D_SHADER_VARIABLE_CLASS Class
D3D_SHADER_VARIABLE_TYPE Type
const char * SemanticName
D3D_REGISTER_COMPONENT_TYPE ComponentType