turnip: fix setting dynamic state mask for VK_DYNAMIC_STATE_STENCIL_OP_EXT case
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7186>
This commit is contained in:
parent
88c7aa0b3e
commit
af049b6668
|
@ -2388,9 +2388,14 @@ tu_pipeline_builder_parse_dynamic(struct tu_pipeline_builder *builder,
|
|||
pipeline->dynamic_state_mask |= BIT(TU_DYNAMIC_STATE_RB_STENCIL_CNTL);
|
||||
break;
|
||||
case VK_DYNAMIC_STATE_STENCIL_OP_EXT:
|
||||
pipeline->rb_stencil_cntl_mask &= A6XX_RB_STENCIL_CONTROL_STENCIL_ENABLE |
|
||||
A6XX_RB_STENCIL_CONTROL_STENCIL_ENABLE_BF |
|
||||
A6XX_RB_STENCIL_CONTROL_STENCIL_READ;
|
||||
pipeline->rb_stencil_cntl_mask &= ~(A6XX_RB_STENCIL_CONTROL_FUNC__MASK |
|
||||
A6XX_RB_STENCIL_CONTROL_FAIL__MASK |
|
||||
A6XX_RB_STENCIL_CONTROL_ZPASS__MASK |
|
||||
A6XX_RB_STENCIL_CONTROL_ZFAIL__MASK |
|
||||
A6XX_RB_STENCIL_CONTROL_FUNC_BF__MASK |
|
||||
A6XX_RB_STENCIL_CONTROL_FAIL_BF__MASK |
|
||||
A6XX_RB_STENCIL_CONTROL_ZPASS_BF__MASK |
|
||||
A6XX_RB_STENCIL_CONTROL_ZFAIL_BF__MASK);
|
||||
pipeline->dynamic_state_mask |= BIT(TU_DYNAMIC_STATE_RB_STENCIL_CNTL);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue