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