mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
anv: expand pre-hiz data cache flush to gfx >= 125
Cc: mesa-stable Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27132>
This commit is contained in:
parent
93706d5c2f
commit
02d7f5e4ff
1 changed files with 1 additions and 1 deletions
|
|
@ -1884,7 +1884,7 @@ anv_fast_clear_depth_stencil(struct anv_cmd_buffer *cmd_buffer,
|
|||
* experiment shows that flusing the data cache helps to resolve the
|
||||
* corruption.
|
||||
*/
|
||||
unsigned wa_flush = intel_device_info_is_dg2(cmd_buffer->device->info) ?
|
||||
unsigned wa_flush = cmd_buffer->device->info->verx10 >= 125 ?
|
||||
ANV_PIPE_DATA_CACHE_FLUSH_BIT : 0;
|
||||
anv_add_pending_pipe_bits(cmd_buffer,
|
||||
ANV_PIPE_DEPTH_CACHE_FLUSH_BIT |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue