{-# language CPP #-} -- | = Name -- -- VK_AMD_shader_early_and_late_fragment_tests - device extension -- -- == VK_AMD_shader_early_and_late_fragment_tests -- -- [__Name String__] -- @VK_AMD_shader_early_and_late_fragment_tests@ -- -- [__Extension Type__] -- Device extension -- -- [__Registered Extension Number__] -- 322 -- -- [__Revision__] -- 1 -- -- [__Extension and Version Dependencies__] -- -- - Requires support for Vulkan 1.0 -- -- [__Contact__] -- -- - Tobias Hector -- -- -- [__Extension Proposal__] -- -- -- == Other Extension Metadata -- -- [__Last Modified Date__] -- 2021-09-14 -- -- [__Interactions and External Dependencies__] -- -- - This extension requires -- -- -- - This extension interacts with @VK_EXT_shader_stencil_export@ -- -- [__Contributors__] -- -- - Tobias Hector, AMD -- -- == Description -- -- This extension adds support for the -- -- extension, allowing shaders to explicitly opt in to allowing both early -- /and/ late fragment tests with the @EarlyAndLateFragmentTestsAMD@ -- execution mode. -- -- If @VK_EXT_shader_stencil_export@ is supported, additional execution -- modes allowing early depth tests similar to @DepthUnchanged@, -- @DepthLess@, and @DepthGreater@ are provided. -- -- == New Structures -- -- - Extending -- 'Vulkan.Core11.Promoted_From_VK_KHR_get_physical_device_properties2.PhysicalDeviceFeatures2', -- 'Vulkan.Core10.Device.DeviceCreateInfo': -- -- - 'PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD' -- -- == New Enum Constants -- -- - 'AMD_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_EXTENSION_NAME' -- -- - 'AMD_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_SPEC_VERSION' -- -- - Extending 'Vulkan.Core10.Enums.StructureType.StructureType': -- -- - 'Vulkan.Core10.Enums.StructureType.STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD' -- -- == Version History -- -- - Revision 1, 2021-09-14 (Tobias Hector) -- -- - Initial draft -- -- == See Also -- -- 'PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD' -- -- == Document Notes -- -- For more information, see the -- -- -- This page is a generated document. Fixes and changes should be made to -- the generator scripts, not directly. module Vulkan.Extensions.VK_AMD_shader_early_and_late_fragment_tests (PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD) where import Vulkan.CStruct (FromCStruct) import Vulkan.CStruct (ToCStruct) import Data.Kind (Type) data PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD instance ToCStruct PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD instance Show PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD instance FromCStruct PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD