yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Alexey PanteleevSupport for querying which parameters are used in emitted code (#2239)69cb6e8f3

master
312 B21 linesraw
1//TEST(smoke):REFLECTION:-profile ps_4_0 -target hlsl -no-codegen
2
3// Confirm that we can generate reflection
4// information for resources nested inside
5// a cbuffer:
6
7cbuffer MyConstantBuffer
8{
9	float3 v;
10
11	Texture2D myTexture;
12
13	float  c;
14
15	SamplerState mySampler;
16}
17
18float4 main() : SV_Target
19{
20	return 0.0;
21}