Skip to content

anv: Fix 3DSTATE_DEPTH_BOUNDS not emitting sometimes

Sviatoslav Peleshko requested to merge GL/mesa:emit_pipeline_depth_bounds into main

Make sure that we'll still set the correct depth bounds state after we bind a pipeline that does not change the default dynamic values.

v2: Instead of emitting 3DSTATE_DEPTH_BOUNDS when the pipeline is dirty, just dirty every dynamic bit when creating the buffer, so everything will be emitted correctly even if the new value is the same as the default one.

Signed-off-by: Sviatoslav Peleshko sviatoslav.peleshko@globallogic.com Fixes: 48229d11 ("anv: don't emit 3DSTATE_DEPTH_BOUNDS in pipeline batch") Closes: #6722 (closed)

Edited by Sviatoslav Peleshko

Merge request reports