SPIRV: Add support for texelFetch
There's nothing really special about texelFetch other than the opcode and some restrictions so adding it is pretty trivial.
This commit is contained in:
parent
d6c37b190b
commit
18b9fbd742
3 changed files with 6 additions and 6 deletions
|
|
@ -298,7 +298,7 @@ public:
|
|||
};
|
||||
|
||||
// Select the correct texture operation based on all inputs, and emit the correct instruction
|
||||
Id createTextureCall(Decoration precision, Id resultType, bool proj, const TextureParameters&);
|
||||
Id createTextureCall(Decoration precision, Id resultType, bool fetch, bool proj, const TextureParameters&);
|
||||
|
||||
// Emit the OpTextureQuery* instruction that was passed in.
|
||||
// Figure out the right return value and type, and return it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue