mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radv: Disable depth clamping even without EXT_depth_range_unrestricted.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
9f7e0523ce
commit
688f5e456a
1 changed files with 1 additions and 2 deletions
|
|
@ -2657,8 +2657,7 @@ radv_pipeline_generate_depth_stencil_state(struct radeon_cmdbuf *ctx_cs,
|
|||
db_render_override |= S_02800C_FORCE_HIS_ENABLE0(V_02800C_FORCE_DISABLE) |
|
||||
S_02800C_FORCE_HIS_ENABLE1(V_02800C_FORCE_DISABLE);
|
||||
|
||||
if (pipeline->device->enabled_extensions.EXT_depth_range_unrestricted &&
|
||||
!pCreateInfo->pRasterizationState->depthClampEnable &&
|
||||
if (!pCreateInfo->pRasterizationState->depthClampEnable &&
|
||||
ps->info.info.ps.writes_z) {
|
||||
/* From VK_EXT_depth_range_unrestricted spec:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue