Vulkan-Docs/appendices/VK_EXT_depth_clip_enable.txt

54 lines
1.3 KiB
Plaintext

include::meta/VK_EXT_depth_clip_enable.txt[]
*Last Modified Data*::
2018-12-20
*Contributors*::
- Daniel Rakos, AMD
- Henri Verbeet, CodeWeavers
- Jeff Bolz, NVIDIA
- Philip Rebohle, DXVK
- Tobias Hector, AMD
This extension allows the depth clipping operation, that is normally
implicitly controlled by
slink:VkPipelineRasterizationStateCreateInfo::pname:depthClampEnable, to
instead be controlled explicitly by
slink:VkPipelineRasterizationDepthClipStateCreateInfoEXT::pname:depthClipEnable.
This is useful for translating DX content which assumes depth clamping is
always enabled, but depth clip can be controlled by the DepthClipEnable
rasterization state (D3D12_RASTERIZER_DESC).
=== New Object Types
None
=== New Enum Constants
* Extending elink:VkStructureType:
** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT
** ename:VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT
=== New Enums
* tlink:VkPipelineRasterizationDepthClipStateCreateFlagsEXT
=== New Structures
* slink:VkPhysicalDeviceDepthClipEnableFeaturesEXT
* slink:VkPipelineRasterizationDepthClipStateCreateInfoEXT
=== New Functions
None
=== Issues
None
=== Version History
* Revision 1, 2018-12-20 (Piers Daniell)
- Internal revisions