mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 02:20:11 +01:00
iris: Set CS stall bit during HIZ_CCS_WT surface fast clear
It make sense to enable CS stall so that it guarantees that the fast clear will start after tile cache flush has completed. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23063>
This commit is contained in:
parent
688ee02864
commit
4f9314588f
1 changed files with 4 additions and 0 deletions
|
|
@ -481,9 +481,13 @@ fast_clear_depth(struct iris_context *ice,
|
|||
*
|
||||
* There may have been a write to this depth buffer. Flush it from the
|
||||
* tile cache just in case.
|
||||
*
|
||||
* Set CS stall bit to guarantee that the fast clear starts the execution
|
||||
* after the tile cache flush completed.
|
||||
*/
|
||||
iris_emit_pipe_control_flush(batch, "hiz_ccs_wt: before fast clear",
|
||||
PIPE_CONTROL_DEPTH_CACHE_FLUSH |
|
||||
PIPE_CONTROL_CS_STALL |
|
||||
PIPE_CONTROL_TILE_CACHE_FLUSH);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue