summaryrefslogtreecommitdiff
path: root/shaders/vert/texture_buffer.vert
blob: 6bc7ddfae219cd1a6aa43e139b05cb01f0121204 (plain)
1
2
3
4
5
6
7
8
9
10
#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);
}