blorp: disable depth bounds

Otherwise the driver setting interacts with it.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 939ddccb7a ("anv: Add support for depth bounds testing.")
Fixes: 1df871f8ff ("iris: Add support for depth bounds testing.")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15763>
This commit is contained in:
Lionel Landwerlin 2022-04-06 11:50:13 +03:00 committed by Marge Bot
parent 3069337144
commit 56ef501e3a
2 changed files with 8 additions and 1 deletions

View File

@ -1243,6 +1243,14 @@ blorp_emit_depth_stencil_state(struct blorp_batch *batch,
}
#endif
#if GFX_VER >= 12
blorp_emit(batch, GENX(3DSTATE_DEPTH_BOUNDS), db) {
db.DepthBoundsTestEnable = false;
db.DepthBoundsTestMinValue = 0.0;
db.DepthBoundsTestMaxValue = 1.0;
}
#endif
return offset;
}

View File

@ -531,7 +531,6 @@ dEQP-VK.drm_format_modifiers.export_import.r16_sfloat,Fail
dEQP-VK.texture.shadow.2d_array.linear_mipmap_nearest.greater_or_equal_d32_sfloat,Fail
# 1.3.1.1 uprev:
dEQP-VK.pipeline.extended_dynamic_state.between_pipelines.stencil_state_face_back_xt_inc_wrap_clear_254_ref_253_depthfail,Fail
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_5_1.samples_2.d24_unorm_s8_uint_separate_layouts.depth_zero_stencil_zero_testing_stencil_samplemask,Crash
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_5_1.samples_2.d24_unorm_s8_uint_separate_layouts.depth_zero_stencil_zero_unused_resolve_testing_stencil_samplemask,Crash
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_5_1.samples_2.d32_sfloat_s8_uint_separate_layouts.depth_zero_stencil_max_testing_stencil_samplemask,Crash