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