vkd3d/libs
Conor McCarthy bec4f0a85e vkd3d: Normalise layer counts in vkd3d_create_texture_uav().
Passing UINT_MAX as layer count to Direct3D behaves similar to passing
VK_REMAINING_ARRAY_LAYERS to Vulkan. Since these have the same value,
everything usually works out even without normalisation. However, there are
some exceptions; for example, we calculate workgroup counts for UAV clears
from layer counts using vkd3d_compute_workgroup_count(), which doesn't handle
UINT_MAX. Normalising layer counts during view creation avoids having to
handle this issue in the rest of the code.

Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:37:56 +02:00
..
vkd3d vkd3d: Normalise layer counts in vkd3d_create_texture_uav(). 2021-10-12 18:37:56 +02:00
vkd3d-common vkd3d-shader/sm1: Introduce a parser for the legacy D3D byte-code format. 2021-10-06 18:35:44 +02:00
vkd3d-shader vkd3d-shader/spirv: Correctly handle bit shifts greater than 31 bits. 2021-10-12 18:37:53 +02:00
vkd3d-utils vkd3d-utils: Initialize input parameters to ID3DInclude::Open(). 2020-12-02 16:28:55 +01:00
.gitignore libs/vkd3d: Trace build version. 2018-06-27 22:43:49 +02:00