glslang/Test/spv.set.vert

15 lines
224 B
GLSL
Raw Normal View History

#version 450
layout(set = 4, binding = 7) uniform sampler2D sampler;
layout(set = 0, binding = 8) buffer setBuf {
vec4 color;
} setBufInst;
out vec4 color;
void main()
{
color = setBufInst.color;
}