Module: vkd3d Branch: master Commit: 0be29f78c0b0d321665b12d2458c06a168c763f9 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/0be29f78c0b0d321665b12d2458c06...
Author: Giovanni Mascellani gmascellani@codeweavers.com Date: Fri Apr 5 23:16:38 2024 +0200
tests: Pop the test context when leaving its scope.
---
tests/d3d12.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tests/d3d12.c b/tests/d3d12.c index 0a55cddb..7108068b 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -32472,7 +32472,10 @@ static void test_resource_allocation_info(void) ok(infos1[i].SizeInBytes == sizes[i], "Got unexpected size %"PRIu64".\n", infos1[i].SizeInBytes);
if (!i) + { + vkd3d_test_pop_context(); continue; + }
ok(infos1[i].Offset - infos1[i - 1].Offset >= infos1[i - 1].SizeInBytes, "Got unexpected prev size %"PRIu64", prev offset %"PRIu64", offset %"PRIu64".\n",