Module: Mesa
Branch: master
Commit: 9a3d4963981e969ce0480140062adc91cd44b90b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a3d4963981e969ce0480140062adc91cd44b90b

Author: Samuel Pitoiset <[email protected]>
Date:   Tue Apr  6 15:11:24 2021 +0200

radv: make sure FMASK decompress and FCE are performed on gfx queue

To catch possible transition failures.

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10056>

---

 src/amd/vulkan/radv_meta_fast_clear.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/vulkan/radv_meta_fast_clear.c 
b/src/amd/vulkan/radv_meta_fast_clear.c
index 8fd7457099d..ea29bdec9f2 100644
--- a/src/amd/vulkan/radv_meta_fast_clear.c
+++ b/src/amd/vulkan/radv_meta_fast_clear.c
@@ -827,6 +827,7 @@ radv_fast_clear_flush_image_inplace(struct radv_cmd_buffer 
*cmd_buffer,
        }
        radv_describe_layout_transition(cmd_buffer, &barrier);
 
+       assert(cmd_buffer->queue_family_index == RADV_QUEUE_GENERAL);
        radv_emit_color_decompress(cmd_buffer, image, subresourceRange, false);
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to