mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 21:10:16 +01:00
anv: Disable fast clear when surface width is 16k
HSD 16023071695 description mentions we need to extend WA_16021232440 to cover the case when surface width is 16k. BSpec: 57340 Signed-off-by: Aditya Swarup <aditya.swarup@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34838>
This commit is contained in:
parent
8edee1e25b
commit
6528d267ef
1 changed files with 5 additions and 2 deletions
|
|
@ -3548,9 +3548,12 @@ anv_can_fast_clear_color(const struct anv_cmd_buffer *cmd_buffer,
|
|||
return false;
|
||||
}
|
||||
|
||||
/* Wa_16021232440: Disable fast clear when height is 16k */
|
||||
/* Wa_16021232440, HSD_16023071695: Disable fast clear when height
|
||||
* or width is 16k
|
||||
* */
|
||||
if (intel_needs_workaround(cmd_buffer->device->info, 16021232440) &&
|
||||
image->vk.extent.height == 16 * 1024) {
|
||||
(image->vk.extent.height == 16 * 1024 ||
|
||||
image->vk.extent.width == 16 * 1024)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue