blob: 356746bed264204e05551801f19fd7db2f04f92b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
//TEST:REFLECTION:-profile vs_4_0 -target hlsl -no-codegen
// Confirm that we can generate reflection info for
// vertex shader input parameters, including those
// that have semantics, and including nesting
// via struct types.
struct X
{
float4 x0;
float4 x1;
};
struct B
{
int4 b0;
X b1;
};
struct C
{
X c0 : CX;
int4 c1 : CY;
};
float4 main(
float4 a : A,
B b : B,
C c)
: SV_Position
{
return 0.0;
}
|