mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 01:16:31 +00:00
Handle wordcount varying between DRef and other image sample ops
This commit is contained in:
@@ -4033,7 +4033,7 @@ void ParseSPIRV(uint32_t *spirv, size_t spirvLength, SPVModule &module)
|
||||
|
||||
// const argument bitfield
|
||||
uint32_t imMask = 0;
|
||||
if(WordCount > 5)
|
||||
if(WordCount > idx)
|
||||
{
|
||||
imMask = spirv[it+idx];
|
||||
idx++;
|
||||
|
||||
Reference in New Issue
Block a user