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 ps_4_0 -target hlsl -no-codegen 2 3// Confirm that we can generate reflection info for arrays 4// 5// Note: just working with fixed-size arrays for now. 6// Unbounded arrays may require more work. 7 8cbuffer MyConstantBuffer 9{ 10float x ; 11 12float a [ 10 ]; 13 14float y ; 15} 16 17Texture2D tx ; 18Texture2D ta [ 16 ]; 19Texture2D ty ; 20SamplerState sx ; 21SamplerState sa [ 4 ]; 22SamplerState sy ; 23 24float4 main () : SV_Target 25{ 26return 0.0 ; 27}