anv: Disable fast clear when surface height is 16k
As suggested in WA_16021232440: Disable fast clear when surface height equals 16k. Signed-off-by: Aditya Swarup <aditya.swarup@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29182>
This commit is contained in:
@@ -350,6 +350,12 @@ anv_can_fast_clear_color_view(struct anv_device *device,
|
||||
iview->planes[0].isl.format))
|
||||
return false;
|
||||
|
||||
/* Wa_16021232440: Disable fast clear when height is 16k */
|
||||
if (intel_needs_workaround(device->info, 16021232440) &&
|
||||
iview->vk.extent.height == 16 * 1024) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user