SPIRV-Cross-Vulnerable/reference/shaders/vert/texture_buffer.vert
2017-08-29 15:52:59 +02:00

12 lines
271 B
GLSL

#version 310 es
#extension GL_OES_texture_buffer : require
layout(binding = 4) uniform highp samplerBuffer uSamp;
layout(binding = 5, rgba32f) uniform readonly highp imageBuffer uSampo;
void main()
{
gl_Position = texelFetch(uSamp, 10) + imageLoad(uSampo, 100);
}