=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: tests: Add missing resource barrier to test_texture().

Alexandre Julliard julliard at winehq.org
Thu Sep 13 15:12:44 CDT 2018


Module: vkd3d
Branch: master
Commit: ee0c715e7d49f4133a4ad87eaa1af66dda31d6a7
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=ee0c715e7d49f4133a4ad87eaa1af66dda31d6a7

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Sep 13 11:26:02 2018 +0200

tests: Add missing resource barrier to test_texture().

Signed-off-by: Józef Kucia <jkucia 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 659a5c6..85e480c 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -9203,6 +9203,8 @@ static void test_texture(void)
 
         ID3D12Resource_Release(texture);
         reset_command_list(command_list, context.allocator);
+        transition_resource_state(command_list, context.render_target,
+                D3D12_RESOURCE_STATE_COPY_SOURCE, D3D12_RESOURCE_STATE_RENDER_TARGET);
     }
 
     ID3D12DescriptorHeap_Release(heap);




More information about the wine-cvs mailing list