96ed275a53
For A6XX it's a no-op, but A7XX+ doesn't clamp to [0,1] with disabled depth clamp, to support VK_EXT_depth_clamp_zero_one we have to always enable clamp and manually set depth range to [0,1] when rs->depth_clamp_enable is false. Passes: dEQP-VK.depth.* dEQP-GLES3.functional.fbo.depth.depth_test_clamp.* (zink) Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29387>