SPIRV-Cross/shaders-hlsl/vert/texture_buffer.vert
2017-10-24 09:55:25 +02:00

10 lines
211 B
GLSL

#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);
}