Module: vkd3d Branch: master Commit: cf816a255cb8249a20cdf0e21230977cfd867ceb URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/cf816a255cb8249a20cdf0e2123097...
Author: Giovanni Mascellani gmascellani@codeweavers.com Date: Fri Mar 8 17:01:53 2024 +0100
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 3e75fada..ce907c96 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -32383,7 +32383,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",