tu/a7xx: Don't disable LRZ for empty FS when FDM is used
Fixes: 2797069e9a ("tu: Enable LRZ with FDM")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37091>
This commit is contained in:
committed by
Marge Bot
parent
213a63f236
commit
df83008ed6
@@ -3242,7 +3242,7 @@ tu_empty_fs_create(struct tu_device *dev, struct tu_shader **shader,
|
||||
return VK_ERROR_OUT_OF_HOST_MEMORY;
|
||||
|
||||
(*shader)->fs.has_fdm = fragment_density_map;
|
||||
if (fragment_density_map)
|
||||
if (fragment_density_map && dev->physical_device->info->chip < 7)
|
||||
(*shader)->fs.lrz.status = TU_LRZ_FORCE_DISABLE_LRZ;
|
||||
|
||||
for (unsigned i = 0; i < MAX_SETS; i++)
|
||||
|
||||
Reference in New Issue
Block a user