Mesa (main): dzn: always use ID3D12GraphicsCommandList1
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 19 16:29:45 UTC 2022
Module: Mesa
Branch: main
Commit: 8c6f50efdb82cecdfce3f6558f00995eabd635ab
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c6f50efdb82cecdfce3f6558f00995eabd635ab
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Fri Mar 25 15:59:23 2022 +0100
dzn: always use ID3D12GraphicsCommandList1
In the C-interface, ID3D12GraphicsCommandList1 and
ID3D12GraphicsCommandList are unrelated types. So let's make sure we
consistenly use the most up-to-date version.
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15816>
---
src/microsoft/vulkan/dzn_cmd_buffer.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microsoft/vulkan/dzn_cmd_buffer.cpp b/src/microsoft/vulkan/dzn_cmd_buffer.cpp
index 9961eb7b738..d8718954fec 100644
--- a/src/microsoft/vulkan/dzn_cmd_buffer.cpp
+++ b/src/microsoft/vulkan/dzn_cmd_buffer.cpp
@@ -1421,7 +1421,7 @@ dzn_cmd_buffer_copy_buf2img_region(dzn_cmd_buffer *cmdbuf,
VK_FROM_HANDLE(dzn_image, dst_image, info->dstImage);
ID3D12Device1 *dev = device->dev;
- ID3D12GraphicsCommandList *cmdlist = cmdbuf->cmdlist;
+ ID3D12GraphicsCommandList1 *cmdlist = cmdbuf->cmdlist;
const VkBufferImageCopy2 *region = &info->pRegions[r];
enum pipe_format pfmt = vk_format_to_pipe_format(dst_image->vk.format);
@@ -1492,7 +1492,7 @@ dzn_cmd_buffer_copy_img2buf_region(dzn_cmd_buffer *cmdbuf,
VK_FROM_HANDLE(dzn_buffer, dst_buffer, info->dstBuffer);
ID3D12Device1 *dev = device->dev;
- ID3D12GraphicsCommandList *cmdlist = cmdbuf->cmdlist;
+ ID3D12GraphicsCommandList1 *cmdlist = cmdbuf->cmdlist;
const VkBufferImageCopy2 *region = &info->pRegions[r];
enum pipe_format pfmt = vk_format_to_pipe_format(src_image->vk.format);
@@ -1563,7 +1563,7 @@ dzn_cmd_buffer_copy_img_chunk(dzn_cmd_buffer *cmdbuf,
VK_FROM_HANDLE(dzn_image, dst, info->dstImage);
ID3D12Device1 *dev = device->dev;
- ID3D12GraphicsCommandList *cmdlist = cmdbuf->cmdlist;
+ ID3D12GraphicsCommandList1 *cmdlist = cmdbuf->cmdlist;
const VkImageCopy2 *region = &info->pRegions[r];
const VkImageSubresourceLayers *src_subres = ®ion->srcSubresource;
More information about the mesa-commit
mailing list