summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-01-21 20:19:48 +0100
committerBas Nieuwenhuizen <[email protected]>2018-01-22 00:07:03 +0100
commitd956e0bdf53a9dd51d4a07d3cb58ee16e37a4ace (patch)
tree612160a81315cd3f00771a1d59a864116e79baa0 /src/amd/vulkan
parent29a0ea699a4fcd837d0478ad23b50e3cb0431ee4 (diff)
radv: Fix ordering issue in meta memory allocation failure path.
CC: <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_meta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_meta.c b/src/amd/vulkan/radv_meta.c
index e13fa928dbc..f0222470973 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: