mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Add debug label for swap chain blitter
This commit is contained in:
parent
b9dc562fb5
commit
70f3e0315e
1 changed files with 5 additions and 0 deletions
|
@ -252,6 +252,11 @@ namespace dxvk {
|
||||||
VkColorSpaceKHR srcColorSpace,
|
VkColorSpaceKHR srcColorSpace,
|
||||||
VkRect2D srcRect,
|
VkRect2D srcRect,
|
||||||
VkBool32 enableBlending) {
|
VkBool32 enableBlending) {
|
||||||
|
if (unlikely(m_device->isDebugEnabled())) {
|
||||||
|
ctx.cmd->cmdInsertDebugUtilsLabel(DxvkCmdBuffer::ExecBuffer,
|
||||||
|
vk::makeLabel(0xdcc0f0, "Swapchain blit"));
|
||||||
|
}
|
||||||
|
|
||||||
VkExtent3D dstExtent = dstView->mipLevelExtent(0);
|
VkExtent3D dstExtent = dstView->mipLevelExtent(0);
|
||||||
|
|
||||||
VkOffset2D coordA = dstRect.offset;
|
VkOffset2D coordA = dstRect.offset;
|
||||||
|
|
Loading…
Add table
Reference in a new issue