Preserve signedness in SPV image query ops
The AST->SPIRV translation of image queries was dropping signedness, causing some validation troubles.
This commit is contained in:
@@ -335,7 +335,7 @@ public:
|
||||
|
||||
// Emit the OpTextureQuery* instruction that was passed in.
|
||||
// Figure out the right return value and type, and return it.
|
||||
Id createTextureQueryCall(Op, const TextureParameters&);
|
||||
Id createTextureQueryCall(Op, const TextureParameters&, bool isUnsignedResult);
|
||||
|
||||
Id createSamplePositionCall(Decoration precision, Id, Id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user