diff --git a/renderdoc/api/replay/rdcstr.h b/renderdoc/api/replay/rdcstr.h index 54362e919..624e17827 100644 --- a/renderdoc/api/replay/rdcstr.h +++ b/renderdoc/api/replay/rdcstr.h @@ -1034,6 +1034,7 @@ public: rdcinflexiblestr(const rdcliteral &lit) { pointer = (intptr_t)lit.c_str(); + is_literal = 0; is_literal |= 0x1; } rdcinflexiblestr &operator=(const rdcliteral &in) diff --git a/renderdoc/driver/vulkan/vk_shaderdebug.cpp b/renderdoc/driver/vulkan/vk_shaderdebug.cpp index 20e94dca2..3afc3d7ac 100644 --- a/renderdoc/driver/vulkan/vk_shaderdebug.cpp +++ b/renderdoc/driver/vulkan/vk_shaderdebug.cpp @@ -4298,7 +4298,8 @@ ShaderDebugTrace *VulkanReplay::DebugPixel(uint32_t eventId, uint32_t x, uint32_ // buffer, we'd still want to spec-constant the address when possible so we're always going to // have some varying value. VkPipeline inputsPipe; - vkr = m_pDriver->vkCreateGraphicsPipelines(dev, NULL, 1, &graphicsInfo, NULL, &inputsPipe); + vkr = + m_pDriver->vkCreateGraphicsPipelines(dev, VK_NULL_HANDLE, 1, &graphicsInfo, NULL, &inputsPipe); RDCASSERTEQUAL(vkr, VK_SUCCESS); // make copy of state to draw from