SPIRV-Cross/shaders/vert/texture_buffer.vert
Hans-Kristian Arntzen 75471fbb98 Initial commit.
2016-03-11 16:30:27 +01:00

11 lines
269 B
GLSL

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