bloat-buster/dependencies/glslang-15.0.0/Test/spv.textureBuffer.vert
David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

18 lines
334 B
GLSL

#version 450
uniform textureBuffer tBuf;
uniform sampler s;
uniform samplerBuffer sBuf;
uniform utextureBuffer utBuf;
uniform itextureBuffer itBuf;
void main()
{
texelFetch(samplerBuffer(tBuf, s), 13);
texelFetch(sBuf, 13);
texelFetch(tBuf, 13);
texelFetch(utBuf, 13);
texelFetch(itBuf, 13);
}