summaryrefslogtreecommitdiffstats
path: root/tests/reflection/resource-in-cbuffer.hlsl
blob: 7c016181c93dbaad7d5fdfbda46be9be921d71d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//TEST(smoke):REFLECTION:-profile ps_4_0 -target hlsl -no-codegen

// Confirm that we can generate reflection
// information for resources nested inside
// a cbuffer:

cbuffer MyConstantBuffer
{
	float3 v;

	Texture2D myTexture;

	float  c;

	SamplerState mySampler;
}

float4 main() : SV_Target
{
	return 0.0;
}