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:
Józef Kucia 2019-03-14 11:35:03 +01:00 committed by Alexandre Julliard
parent f523c642a4
commit fb0fa9d2ab

View File

@ -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;