mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Use VkDeviceSize for buffer view offset and range (Coverity).
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7decb65f54
commit
06c3d1779e
@ -1482,8 +1482,8 @@ static bool vkd3d_create_buffer_view(struct d3d12_device *device,
|
||||
{
|
||||
const struct vkd3d_vk_device_procs *vk_procs = &device->vk_procs;
|
||||
const struct vkd3d_format *format;
|
||||
VkDeviceSize element_size;
|
||||
struct vkd3d_view *object;
|
||||
unsigned int element_size;
|
||||
VkBufferView vk_view;
|
||||
|
||||
if (view_format == DXGI_FORMAT_R32_TYPELESS && (flags & VKD3D_VIEW_RAW_BUFFER))
|
||||
|
Loading…
Reference in New Issue
Block a user