2016-03-02 17:09:16 +00:00
|
|
|
#version 310 es
|
|
|
|
#extension GL_OES_texture_buffer : require
|
|
|
|
|
|
|
|
layout(binding = 4) uniform highp samplerBuffer uSamp;
|
2017-08-29 13:52:59 +00:00
|
|
|
layout(binding = 5, rgba32f) uniform readonly highp imageBuffer uSampo;
|
2016-03-02 17:09:16 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2016-12-05 09:22:54 +00:00
|
|
|
gl_Position = texelFetch(uSamp, 10) + imageLoad(uSampo, 100);
|
2016-03-02 17:09:16 +00:00
|
|
|
}
|
|
|
|
|