glslang/Test/spv.textureBuffer.vert
John Kessenich c10191d132 SPV: Support texelFetch() on a textureBuffer (no sampler).
Fixes Vulkan Khronos-internal issue 770.
2017-05-08 00:12:28 -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);
}