This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Description
The current implementation of VK_EXT_depth_clamp_control implements it as an override for the viewport depth range in all viewports:
https://github.com/GPUOpen-Drivers/xgl/blob/dev/icd/api/vk_cmdbuffer.cpp#L12586
Due to an oversight this does currently pass conformance, but does not match the specification of the extension:
It can be used to set a smaller or larger clamping range than the viewport depth range without affecting the depth mapping of the viewport transform.
To implement the extension correctly a new depth clamping mode needs to be added to the PAL.