mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-14 14:01:06 +00:00
Fix check for push constant ranges in postvs fetch on vulkan
This commit is contained in:
@@ -1626,7 +1626,7 @@ void VulkanReplay::FetchVSOut(uint32_t eventId, VulkanRenderState &state)
|
||||
// ensure the push range is visible to the compute shader
|
||||
for(const VkPushConstantRange &range : oldPush)
|
||||
{
|
||||
if(range.stageFlags == VK_SHADER_STAGE_VERTEX_BIT)
|
||||
if(range.stageFlags & VK_SHADER_STAGE_VERTEX_BIT)
|
||||
{
|
||||
push = range;
|
||||
push.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT;
|
||||
|
||||
Reference in New Issue
Block a user