Conor McCarthy : tests: Test a UINT_MAX layer count in test_clear_unordered_access_view_image().
Alexandre Julliard
julliard at winehq.org
Tue Oct 12 16:05:31 CDT 2021
Module: vkd3d
Branch: master
Commit: e3495613fbb52b343dd1263a86880c4a5298c879
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=e3495613fbb52b343dd1263a86880c4a5298c879
Author: Conor McCarthy <cmccarthy at codeweavers.com>
Date: Tue Oct 12 18:31:14 2021 +0200
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 at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tests/d3d12.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/d3d12.c b/tests/d3d12.c
index d1337e2..ac1e24d 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -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},
More information about the wine-cvs
mailing list