[Mesa-stable] [PATCH 1/6] radv: Fix ordering issue in meta memory allocation failure path.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sun Jan 21 21:11:52 UTC 2018


CC: <mesa-stable at lists.freedesktop.org>
---
 src/amd/vulkan/radv_meta.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_meta.c b/src/amd/vulkan/radv_meta.c
index e13fa928db..f022247097 100644
--- a/src/amd/vulkan/radv_meta.c
+++ b/src/amd/vulkan/radv_meta.c
@@ -379,9 +379,9 @@ fail_resolve_fragment:
 fail_resolve_compute:
 	radv_device_finish_meta_fast_clear_flush_state(device);
 fail_fast_clear:
-	radv_device_finish_meta_buffer_state(device);
-fail_query:
 	radv_device_finish_meta_query_state(device);
+fail_query:
+	radv_device_finish_meta_buffer_state(device);
 fail_buffer:
 	radv_device_finish_meta_depth_decomp_state(device);
 fail_depth_decomp:
-- 
2.15.1



More information about the mesa-stable mailing list