mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
anv: add missing workaround for 3DSTATE_LINE_STIPPLE
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25425>
This commit is contained in:
parent
c59179e6bb
commit
a28ff995bb
1 changed files with 11 additions and 0 deletions
|
|
@ -1548,6 +1548,17 @@ genX(cmd_buffer_flush_gfx_hw_state)(struct anv_cmd_buffer *cmd_buffer)
|
||||||
SET(ls, ls, LineStippleInverseRepeatCount);
|
SET(ls, ls, LineStippleInverseRepeatCount);
|
||||||
SET(ls, ls, LineStippleRepeatCount);
|
SET(ls, ls, LineStippleRepeatCount);
|
||||||
}
|
}
|
||||||
|
#if GFX_VER >= 11
|
||||||
|
/* ICL PRMs, Volume 2a - Command Reference: Instructions,
|
||||||
|
* 3DSTATE_LINE_STIPPLE:
|
||||||
|
*
|
||||||
|
* "Workaround: This command must be followed by a PIPE_CONTROL with
|
||||||
|
* CS Stall bit set."
|
||||||
|
*/
|
||||||
|
genx_batch_emit_pipe_control(&cmd_buffer->batch,
|
||||||
|
cmd_buffer->device->info,
|
||||||
|
ANV_PIPE_CS_STALL_BIT);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VF)) {
|
if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VF)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue