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

// 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;
}