mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
anv: HDC flush is available only for GFX_VER 12+
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25399>
This commit is contained in:
parent
c02db0d90f
commit
99d3d76646
1 changed files with 1 additions and 1 deletions
|
|
@ -2954,7 +2954,7 @@ genX(batch_emit_pipe_control_write)(struct anv_batch *batch,
|
|||
#if GFX_VER >= 12
|
||||
pipe.TileCacheFlushEnable = bits & ANV_PIPE_TILE_CACHE_FLUSH_BIT;
|
||||
#endif
|
||||
#if GFX_VER >= 11
|
||||
#if GFX_VER > 11
|
||||
pipe.HDCPipelineFlushEnable = bits & ANV_PIPE_HDC_PIPELINE_FLUSH_BIT;
|
||||
#endif
|
||||
pipe.DepthCacheFlushEnable = bits & ANV_PIPE_DEPTH_CACHE_FLUSH_BIT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue