Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit 579f067

Browse files
committed
2nd instance of 'when ending a Vulkan cmdBuf, report its handle instead of our wrapper…'
1 parent baa2798 commit 579f067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CodeXL/Components/Graphics/Server/VulkanServer/VKT/Objects/Wrappers/vktWrappedCmdBuf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ void VktWrappedCmdBuf::CmdEndRenderPass(VkCommandBuffer commandBuffer)
16361636
if (m_createInfo.pInterceptMgr->ShouldCollectTrace())
16371637
{
16381638
char argumentsBuffer[ARGUMENTS_BUFFER_SIZE];
1639-
sprintf_s(argumentsBuffer, ARGUMENTS_BUFFER_SIZE, "0x%p", this);
1639+
sprintf_s(argumentsBuffer, ARGUMENTS_BUFFER_SIZE, "0x%p", commandBuffer);
16401640

16411641
VktAPIEntry* pNewEntry = m_createInfo.pInterceptMgr->PreCall(funcId, argumentsBuffer, this);
16421642
device_dispatch_table(commandBuffer)->CmdEndRenderPass(commandBuffer);

0 commit comments

Comments
 (0)