mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Add hack to allow RenderDoc to function on AMD GPUs
This commit is contained in:
parent
26ef59dd6f
commit
6f6ecb441d
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue