Fix compilation errors on some compilers

This commit is contained in:
jeromenxp
2021-02-24 23:28:03 +01:00
committed by Baldur Karlsson
parent 7c62b80d89
commit 0a3a236540
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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)
+2 -1
View File
@@ -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