mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0dc665484b
commit
67c002e7ca
@ -2847,9 +2847,6 @@ static void vkd3d_create_buffer_uav(struct d3d12_desc *descriptor, struct d3d12_
|
|||||||
return;
|
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);
|
flags = vkd3d_view_flags_from_d3d12_buffer_uav_flags(desc->u.Buffer.Flags);
|
||||||
if (!vkd3d_create_buffer_view_for_resource(device, resource, desc->Format,
|
if (!vkd3d_create_buffer_view_for_resource(device, resource, desc->Format,
|
||||||
desc->u.Buffer.FirstElement, desc->u.Buffer.NumElements,
|
desc->u.Buffer.FirstElement, desc->u.Buffer.NumElements,
|
||||||
|
Loading…
Reference in New Issue
Block a user