Skip to content

lavapipe: fix dynamic depth clamping

Mike Blumenkrantz requested to merge zmike/mesa:lavapipe-clamp into main

on pipeline bind with dynamic state, depth_clip_near needs to either be set by

  • applying the dynamic state
  • using the pipeline state

the previous code always used the pipeline state

fixes: dEQP-VK.pipeline.*.extended_dynamic_state.between_pipelines.depth_clamp_enable

Fixes: 65088010 ("vulkan,lavapipe: Use a tri-state enum for depth clip enable")

Merge request reports