i965: fix regression in pipe control on g45
The cleanups got the wrong value here, just noticed in drive by.
Fixes: b505db3864 ("intel: Simplify few version checks involving G4X")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11519>
This commit is contained in:
@@ -495,7 +495,7 @@ genX(emit_raw_pipe_control)(struct brw_context *brw, uint32_t flags,
|
||||
pc.InstructionCacheInvalidateEnable =
|
||||
flags & PIPE_CONTROL_INSTRUCTION_INVALIDATE;
|
||||
pc.NotifyEnable = flags & PIPE_CONTROL_NOTIFY_ENABLE;
|
||||
#if GFX_VER >= 45
|
||||
#if GFX_VERx10 >= 45
|
||||
pc.IndirectStatePointersDisable =
|
||||
flags & PIPE_CONTROL_INDIRECT_STATE_POINTERS_DISABLE;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user