mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 20:50:44 +02:00
radv: mark all images coherent with TC L2 on GFX12
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29482>
This commit is contained in:
parent
2786928ce8
commit
8dbd353606
1 changed files with 3 additions and 1 deletions
|
|
@ -926,7 +926,9 @@ radv_image_is_l2_coherent(const struct radv_device *device, const struct radv_im
|
|||
{
|
||||
const struct radv_physical_device *pdev = radv_device_physical(device);
|
||||
|
||||
if (pdev->info.gfx_level >= GFX10) {
|
||||
if (pdev->info.gfx_level >= GFX12) {
|
||||
return true; /* Everything is coherent with TC L2. */
|
||||
} else if (pdev->info.gfx_level >= GFX10) {
|
||||
return !pdev->info.tcc_rb_non_coherent && !radv_image_is_pipe_misaligned(device, image);
|
||||
} else if (pdev->info.gfx_level == GFX9) {
|
||||
if (image->vk.samples == 1 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue