radv: Don't invalidate the SCACHE for image barriers.
Even ACO never uses the constant cache for images. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7875>
This commit is contained in:
parent
6d75186008
commit
9a3aaffeb8
|
@ -3321,7 +3321,7 @@ radv_dst_access_flush(struct radv_cmd_buffer *cmd_buffer,
|
|||
flush_bits |= RADV_CMD_FLAG_INV_VCACHE;
|
||||
/* Unlike LLVM, ACO uses SMEM for SSBOs and we have to
|
||||
* invalidate the scalar cache. */
|
||||
if (!cmd_buffer->device->physical_device->use_llvm)
|
||||
if (!cmd_buffer->device->physical_device->use_llvm && !image)
|
||||
flush_bits |= RADV_CMD_FLAG_INV_SCACHE;
|
||||
|
||||
if (!image_is_coherent)
|
||||
|
|
Loading…
Reference in New Issue