I'd like to store arbitrary float depth, so I have to disable both primitive clipping and depth clamping.
I can disable clipping by setting
VK_TRUE, but then I'd have to increase my viewport bounds to the range I wish to store (which is 0..FLT_MAX) and during rasterization my depth value would be multiplied by viewport depth range and would blow up.
Fortunately, I can disable both clipping and clamping using the VK_EXT_depth_clip_enable, but turns out it was supported by the drivers quite recently.
Is there any way to disable both depth clamping and clipping on older drivers (i.e., without using VK_EXT_depth_clip_enable)?