mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-06 14:51:04 +00:00
Zero-initialise specialization constant data
This commit is contained in:
@@ -3471,7 +3471,7 @@ ShaderDebugTrace *VulkanReplay::DebugPixel(uint32_t eventId, uint32_t x, uint32_
|
||||
uint32_t arrayLength;
|
||||
float destX;
|
||||
float destY;
|
||||
} specData;
|
||||
} specData = {};
|
||||
|
||||
specData.arrayLength = overdrawLevels;
|
||||
specData.destX = float(x) + 0.5f;
|
||||
|
||||
Reference in New Issue
Block a user