mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Set debug names for swap chain blitter resources
This commit is contained in:
parent
37ac1e700c
commit
792b9d085a
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,7 @@ namespace dxvk {
|
|||
| VK_ACCESS_SHADER_READ_BIT;
|
||||
imageInfo.tiling = VK_IMAGE_TILING_OPTIMAL;
|
||||
imageInfo.layout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
|
||||
imageInfo.debugName = "Swapchain cursor";
|
||||
|
||||
m_cursorImage = m_device->createImage(imageInfo, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT);
|
||||
|
||||
|
@ -367,6 +368,7 @@ namespace dxvk {
|
|||
imageInfo.tiling = VK_IMAGE_TILING_OPTIMAL;
|
||||
imageInfo.layout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
|
||||
imageInfo.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED;
|
||||
imageInfo.debugName = "Swapchain gamma ramp";
|
||||
|
||||
m_gammaImage = m_device->createImage(imageInfo,
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT);
|
||||
|
|
Loading…
Add table
Reference in a new issue