{-# language CPP #-} -- | = Name -- -- VK_EXT_depth_range_unrestricted - device extension -- -- == VK_EXT_depth_range_unrestricted -- -- [__Name String__] -- @VK_EXT_depth_range_unrestricted@ -- -- [__Extension Type__] -- Device extension -- -- [__Registered Extension Number__] -- 14 -- -- [__Revision__] -- 1 -- -- [__Ratification Status__] -- Not ratified -- -- [__Extension and Version Dependencies__; __Contact__] -- -- - Piers Daniell -- <https://github.com/KhronosGroup/Vulkan-Docs/issues/new?body=[VK_EXT_depth_range_unrestricted] @pdaniell-nv%0A*Here describe the issue or question you have about the VK_EXT_depth_range_unrestricted extension* > -- -- == Other Extension Metadata -- -- [__Last Modified Date__] -- 2017-06-22 -- -- [__Contributors__] -- -- - Daniel Koch, NVIDIA -- -- - Jeff Bolz, NVIDIA -- -- == Description -- -- This extension removes the 'Vulkan.Core10.Pipeline.Viewport' @minDepth@ -- and @maxDepth@ restrictions that the values must be between @0.0@ and -- @1.0@, inclusive. It also removes the same restriction on -- 'Vulkan.Core10.Pipeline.PipelineDepthStencilStateCreateInfo' -- @minDepthBounds@ and @maxDepthBounds@. Finally it removes the -- restriction on the @depth@ value in -- 'Vulkan.Core10.CommandBufferBuilding.ClearDepthStencilValue'. -- -- == New Enum Constants -- -- - 'EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME' -- -- - 'EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION' -- -- == Issues -- -- 1) How do 'Vulkan.Core10.Pipeline.Viewport' @minDepth@ and @maxDepth@ -- values outside of the @0.0@ to @1.0@ range interact with -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#vertexpostproc-clipping Primitive Clipping>? -- -- __RESOLVED__: The behavior described in -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#vertexpostproc-clipping Primitive Clipping> -- still applies. If depth clamping is disabled the depth values are still -- clipped to 0 ≤ zc ≤ wc before the viewport transform. If depth clamping -- is enabled the above equation is ignored and the depth values are -- instead clamped to the 'Vulkan.Core10.Pipeline.Viewport' @minDepth@ and -- @maxDepth@ values, which in the case of this extension can be outside of -- the @0.0@ to @1.0@ range. -- -- 2) What happens if a resulting depth fragment is outside of the @0.0@ to -- @1.0@ range and the depth buffer is fixed-point rather than -- floating-point? -- -- __RESOLVED__: This situation can also arise without this extension (when -- fragment shaders replace depth values, for example), and this extension -- does not change the behaviour, which is defined in the -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-depth Depth Test> -- section of the Fragment Operations chapter. -- -- == Version History -- -- - Revision 1, 2017-06-22 (Piers Daniell) -- -- - Internal revisions -- -- == See Also -- -- No cross-references are available -- -- == Document Notes -- -- For more information, see the -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#VK_EXT_depth_range_unrestricted Vulkan Specification> -- -- This page is a generated document. Fixes and changes should be made to -- the generator scripts, not directly. module Vulkan.Extensions.VK_EXT_depth_range_unrestricted ( EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION , pattern EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION , EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME , pattern EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME ) where import Data.String (IsString) type EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION = 1 -- No documentation found for TopLevel "VK_EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION" pattern EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION :: forall a . Integral a => a pattern $bEXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION :: forall a. Integral a => a $mEXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION :: forall {r} {a}. Integral a => a -> ((# #) -> r) -> ((# #) -> r) -> r EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION = 1 type EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME = "VK_EXT_depth_range_unrestricted" -- No documentation found for TopLevel "VK_EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME" pattern EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME :: forall a . (Eq a, IsString a) => a pattern $bEXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a $mEXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME :: forall {r} {a}. (Eq a, IsString a) => a -> ((# #) -> r) -> ((# #) -> r) -> r EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME = "VK_EXT_depth_range_unrestricted"