SPIRV-Cross/shaders-hlsl/vert/texture_buffer.vert

10 lines
211 B
GLSL
Raw Normal View History

2017-10-24 07:52:12 +00:00
#version 450
layout(binding = 4) uniform samplerBuffer uSamp;
layout(rgba32f, binding = 5) uniform readonly imageBuffer uSampo;
void main()
{
gl_Position = texelFetch(uSamp, 10) + imageLoad(uSampo, 100);
}