yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
69cb6e8f3
master
1// mix-explicit-and-implicit-spaces.slang 2//TEST:REFLECTION:-profile cs_5_1 -target hlsl -no-codegen 3 4// Ensure that correct layout/reflection is computed 5// when mixing implicit and explicit spaces for 6// parameter blocks. 7 8struct A { float x; } 9ParameterBlock<A> a : register(space0); 10 11struct B { float y; } 12ParameterBlock<B> b : register(space1); 13 14struct C { float z; } 15ParameterBlock<C> c; 16 17void main() 18{}