yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

John KessenichSPV: Support texelFetch() on a textureBuffer (no sampler).c10191d1

main
334 B17 linesraw
1#version 450
2
3uniform textureBuffer tBuf;
4uniform sampler s;
5uniform samplerBuffer sBuf;
6
7uniform utextureBuffer utBuf;
8uniform itextureBuffer itBuf;
9
10void main()
11{
12    texelFetch(samplerBuffer(tBuf, s), 13);
13    texelFetch(sBuf, 13);
14    texelFetch(tBuf, 13);
15    texelFetch(utBuf, 13);
16    texelFetch(itBuf, 13);
17}