mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Test a UINT_MAX layer count in test_clear_unordered_access_view_image().
Testing without the fixes in vkd3d_create_texture_uav() has nasty results in radv and possibly others. 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
8577747879
commit
e3495613fb
@ -5014,6 +5014,8 @@ static void test_clear_unordered_access_view_image(void)
|
||||
{0x3f000000, 0, 0, 0}, 0x3f000000, true},
|
||||
{DXGI_FORMAT_R32_FLOAT, 1, IMAGE_SIZE, 0, 3, 2, 0, {},
|
||||
{0x3f000000, 0, 0, 0}, 0x3f000000, true},
|
||||
/* Test clearing a UINT_MAX layer count. */
|
||||
{DXGI_FORMAT_R32_FLOAT, 1, IMAGE_SIZE, 0, 0, UINT_MAX, 0, {}, {1, 0, 0, 0}, 1},
|
||||
/* Test a single clear rect. */
|
||||
{DXGI_FORMAT_R32_FLOAT, 1, 1, 0, 0, 1, 1, {{1, 2, IMAGE_SIZE - 4, IMAGE_SIZE - 2}},
|
||||
{1, 0, 0, 0}, 1},
|
||||
|
Loading…
x
Reference in New Issue
Block a user