summaryrefslogtreecommitdiffstats
path: root/tests/bindings/hlsl-to-vulkan-global.hlsl
blob: aceec02ba542f8d534471e856161cb7a0044803d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//TEST:REFLECTION:-target glsl -profile ps_4_0 -entry main -fvk-bind-globals 5 9

uniform int a;
uniform float b;

Texture2D t;
SamplerState sampler;

float4 main() : SV_TARGET
{
	return t.SampleLevel(sampler, float2(a,b), 0) + float4(a, b, 1, 0);
}