SPV: Support texelFetch() on a textureBuffer (no sampler).
Fixes Vulkan Khronos-internal issue 770.
This commit is contained in:
parent
a5c5fb6118
commit
c10191d132
5 changed files with 96 additions and 3 deletions
17
Test/spv.textureBuffer.vert
Normal file
17
Test/spv.textureBuffer.vert
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue