Conor McCarthy : vkd3d: Remove fixme for UAV counter offsets.

Alexandre Julliard julliard at winehq.org
Thu Jun 24 16:14:32 CDT 2021


Module: vkd3d
Branch: master
Commit: 67c002e7ca9bb6dba54eef51d7d5499a48a9461b
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=67c002e7ca9bb6dba54eef51d7d5499a48a9461b

Author: Conor McCarthy <cmccarthy at codeweavers.com>
Date:   Wed Jun 23 22:32:20 2021 +1000

vkd3d: Remove fixme for UAV counter offsets.

The fixme says the offset is ignored, but it is used when creating
the Vulkan buffer view for the counter, and works as expected.

Signed-off-by: Conor McCarthy <cmccarthy at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d/resource.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c
index a9d4d46..3a66bb1 100644
--- a/libs/vkd3d/resource.c
+++ b/libs/vkd3d/resource.c
@@ -2847,9 +2847,6 @@ static void vkd3d_create_buffer_uav(struct d3d12_desc *descriptor, struct d3d12_
         return;
     }
 
-    if (desc->u.Buffer.CounterOffsetInBytes)
-        FIXME("Ignoring counter offset %"PRIu64".\n", desc->u.Buffer.CounterOffsetInBytes);
-
     flags = vkd3d_view_flags_from_d3d12_buffer_uav_flags(desc->u.Buffer.Flags);
     if (!vkd3d_create_buffer_view_for_resource(device, resource, desc->Format,
             desc->u.Buffer.FirstElement, desc->u.Buffer.NumElements,




More information about the wine-cvs mailing list