mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 13:50:11 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -3321,7 +3321,7 @@ radv_dst_access_flush(struct radv_cmd_buffer *cmd_buffer,
|
||||||
flush_bits |= RADV_CMD_FLAG_INV_VCACHE;
|
flush_bits |= RADV_CMD_FLAG_INV_VCACHE;
|
||||||
/* Unlike LLVM, ACO uses SMEM for SSBOs and we have to
|
/* Unlike LLVM, ACO uses SMEM for SSBOs and we have to
|
||||||
* invalidate the scalar cache. */
|
* 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;
|
flush_bits |= RADV_CMD_FLAG_INV_SCACHE;
|
||||||
|
|
||||||
if (!image_is_coherent)
|
if (!image_is_coherent)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue