mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[dxvk] Add hack to allow RenderDoc to function on AMD GPUs
This commit is contained in:
parent
26ef59dd6f
commit
6f6ecb441d
@ -33,6 +33,10 @@ namespace dxvk {
|
||||
VkMemoryRequirements memReq;
|
||||
m_vkd->vkGetImageMemoryRequirements(
|
||||
m_vkd->device(), m_image, &memReq);
|
||||
|
||||
// FIXME this only exists to make renderdoc happy
|
||||
memReq.size += 65536;
|
||||
|
||||
m_memory = memAlloc.alloc(memReq, memFlags);
|
||||
|
||||
if (m_vkd->vkBindImageMemory(m_vkd->device(),
|
||||
|
Loading…
Reference in New Issue
Block a user