mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Fix Vulkan validation error in test_copy_descriptors().
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
f523c642a4
commit
fb0fa9d2ab
@ -14684,7 +14684,7 @@ static void test_copy_descriptors(void)
|
|||||||
D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE);
|
D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE);
|
||||||
|
|
||||||
t[2] = create_default_texture(context.device,
|
t[2] = create_default_texture(context.device,
|
||||||
1, 1, DXGI_FORMAT_R32_UINT, 0, D3D12_RESOURCE_STATE_COPY_DEST);
|
1, 1, DXGI_FORMAT_R32_SINT, 0, D3D12_RESOURCE_STATE_COPY_DEST);
|
||||||
data.pData = &t2_data;
|
data.pData = &t2_data;
|
||||||
data.RowPitch = sizeof(t2_data);
|
data.RowPitch = sizeof(t2_data);
|
||||||
data.SlicePitch = data.RowPitch;
|
data.SlicePitch = data.RowPitch;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user