blob: 52dd4321ea006bbd0842f7759ec84fad98248dfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// mix-explicit-and-implicit-spaces.slang
//TEST:REFLECTION:-profile cs_5_1 -target hlsl
// Ensure that correct layout/reflection is computed
// when mixing implicit and explicit spaces for
// parameter blocks.
struct A { float x; }
ParameterBlock<A> a : register(space0);
struct B { float y; }
ParameterBlock<B> b : register(space1);
struct C { float z; }
ParameterBlock<C> c;
void main()
{}
|