mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-09 18:30:29 +01:00
radv: fix incorrect cache flushes before decompressing DCC on compute
Found by luck. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29940>
This commit is contained in:
parent
edcad250ed
commit
bc52e77397
1 changed files with 1 additions and 1 deletions
|
|
@ -670,7 +670,7 @@ radv_decompress_dcc_compute(struct radv_cmd_buffer *cmd_buffer, struct radv_imag
|
|||
struct radv_image_view load_iview = {0};
|
||||
struct radv_image_view store_iview = {0};
|
||||
|
||||
cmd_buffer->state.flush_bits |= radv_dst_access_flush(cmd_buffer, VK_ACCESS_2_SHADER_WRITE_BIT, image);
|
||||
cmd_buffer->state.flush_bits |= radv_dst_access_flush(cmd_buffer, VK_ACCESS_2_SHADER_READ_BIT, image);
|
||||
|
||||
if (!device->meta_state.fast_clear_flush.cmask_eliminate_pipeline) {
|
||||
VkResult ret = radv_device_init_meta_fast_clear_flush_state_internal(device);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue