Skip to content

tu: Disable depth and stencil tests when attachment state requires it

Amber Harmonia requested to merge amber/mesa:fix-ds-emission into main

The pipeline depth/stencil state can indicate that the stencil test is enabled even in cases where the attachment is missing a stencil component or has a null/unused stencil attachment or format respectively.



In these tests RB_STENCIL_CONTROL had STENCIL_ENABLE set, causing the stencil test to use wrong values due to the depth format being DEPTH6_24_8 in both.

Edited by Amber Harmonia

Merge request reports