vulkan-3.6.4: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_NV_shading_rate_image

Synopsis

Documentation

cmdBindShadingRateImageNV Source #

Arguments

:: forall io. MonadIO io 
=> CommandBuffer

commandBuffer is the command buffer into which the command will be recorded.

-> ImageView

imageView is an image view handle specifying the shading rate image. imageView may be set to NULL_HANDLE, which is equivalent to specifying a view of an image filled with zero values.

-> ImageLayout

imageLayout is the layout that the image subresources accessible from imageView will be in when the shading rate image is accessed.

-> io () 

vkCmdBindShadingRateImageNV - Bind a shading rate image on a command buffer

Valid Usage

Valid Usage (Implicit)

  • If imageView is not NULL_HANDLE, imageView must be a valid ImageView handle
  • imageLayout must be a valid ImageLayout value
  • commandBuffer must be in the recording state
  • The CommandPool that commandBuffer was allocated from must support graphics operations
  • Both of commandBuffer, and imageView that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same Device

Host Synchronization

  • Host access to commandBuffer must be externally synchronized
  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Command Buffer Levels Render Pass Scope Supported Queue Types Pipeline Type
Primary Secondary Both Graphics

See Also

CommandBuffer, ImageLayout, ImageView

cmdSetViewportShadingRatePaletteNV Source #

Arguments

:: forall io. MonadIO io 
=> CommandBuffer

commandBuffer is the command buffer into which the command will be recorded.

-> ("firstViewport" ::: Word32)

firstViewport is the index of the first viewport whose shading rate palette is updated by the command.

-> ("shadingRatePalettes" ::: Vector ShadingRatePaletteNV)

pShadingRatePalettes is a pointer to an array of ShadingRatePaletteNV structures defining the palette for each viewport.

-> io () 

vkCmdSetViewportShadingRatePaletteNV - Set shading rate image palettes on a command buffer

Valid Usage

Valid Usage (Implicit)

  • pShadingRatePalettes must be a valid pointer to an array of viewportCount valid ShadingRatePaletteNV structures
  • commandBuffer must be in the recording state
  • The CommandPool that commandBuffer was allocated from must support graphics operations
  • viewportCount must be greater than 0

Host Synchronization

  • Host access to commandBuffer must be externally synchronized
  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Command Buffer Levels Render Pass Scope Supported Queue Types Pipeline Type
Primary Secondary Both Graphics

See Also

CommandBuffer, ShadingRatePaletteNV

cmdSetCoarseSampleOrderNV Source #

Arguments

:: forall io. MonadIO io 
=> CommandBuffer

commandBuffer is the command buffer into which the command will be recorded.

-> CoarseSampleOrderTypeNV

sampleOrderType specifies the mechanism used to order coverage samples in fragments larger than one pixel.

-> ("customSampleOrders" ::: Vector CoarseSampleOrderCustomNV)

pCustomSampleOrders is a pointer to an array of CoarseSampleOrderCustomNV structures, each of which specifies the coverage sample order for a single combination of fragment area and coverage sample count.

-> io () 

vkCmdSetCoarseSampleOrderNV - Set sample order for coarse fragments on a command buffer

Description

If sampleOrderType is COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV, the coverage sample order used for any combination of fragment area and coverage sample count not enumerated in pCustomSampleOrders will be identical to that used for COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV.

Valid Usage

  • The array pCustomSampleOrders must not contain two structures with matching values for both the shadingRate and sampleCount members

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized
  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Command Buffer Levels Render Pass Scope Supported Queue Types Pipeline Type
Primary Secondary Both Graphics

See Also

CoarseSampleOrderCustomNV, CoarseSampleOrderTypeNV, CommandBuffer

data ShadingRatePaletteNV Source #

VkShadingRatePaletteNV - Structure specifying a single shading rate palette

Valid Usage (Implicit)

See Also

PipelineViewportShadingRateImageStateCreateInfoNV, ShadingRatePaletteEntryNV, cmdSetViewportShadingRatePaletteNV

Constructors

ShadingRatePaletteNV 

Fields

Instances

Instances details
Show ShadingRatePaletteNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Generic ShadingRatePaletteNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Associated Types

type Rep ShadingRatePaletteNV :: Type -> Type #

FromCStruct ShadingRatePaletteNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

ToCStruct ShadingRatePaletteNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero ShadingRatePaletteNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep ShadingRatePaletteNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep ShadingRatePaletteNV = D1 ('MetaData "ShadingRatePaletteNV" "Vulkan.Extensions.VK_NV_shading_rate_image" "vulkan-3.6.4-inplace" 'False) (C1 ('MetaCons "ShadingRatePaletteNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadingRatePaletteEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector ShadingRatePaletteEntryNV))))

data PipelineViewportShadingRateImageStateCreateInfoNV Source #

VkPipelineViewportShadingRateImageStateCreateInfoNV - Structure specifying parameters controlling shading rate image usage

Description

If this structure is not present, shadingRateImageEnable is considered to be FALSE, and the shading rate image and palettes are not used.

Valid Usage

Valid Usage (Implicit)

  • viewportCount must be greater than 0

See Also

Bool32, ShadingRatePaletteNV, StructureType

Constructors

PipelineViewportShadingRateImageStateCreateInfoNV 

Fields

Instances

Instances details
Show PipelineViewportShadingRateImageStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Generic PipelineViewportShadingRateImageStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

FromCStruct PipelineViewportShadingRateImageStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

ToCStruct PipelineViewportShadingRateImageStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero PipelineViewportShadingRateImageStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PipelineViewportShadingRateImageStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PipelineViewportShadingRateImageStateCreateInfoNV = D1 ('MetaData "PipelineViewportShadingRateImageStateCreateInfoNV" "Vulkan.Extensions.VK_NV_shading_rate_image" "vulkan-3.6.4-inplace" 'False) (C1 ('MetaCons "PipelineViewportShadingRateImageStateCreateInfoNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadingRateImageEnable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "shadingRatePalettes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector ShadingRatePaletteNV))))

data PhysicalDeviceShadingRateImageFeaturesNV Source #

VkPhysicalDeviceShadingRateImageFeaturesNV - Structure describing shading rate image features that can be supported by an implementation

Members

The members of the PhysicalDeviceShadingRateImageFeaturesNV structure describe the following features:

Description

See Shading Rate Image for more information.

If the PhysicalDeviceShadingRateImageFeaturesNV structure is included in the pNext chain of PhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. PhysicalDeviceShadingRateImageFeaturesNV can also be included in the pNext chain of DeviceCreateInfo to enable features.

Valid Usage (Implicit)

See Also

Bool32, StructureType

Constructors

PhysicalDeviceShadingRateImageFeaturesNV 

Fields

  • shadingRateImage :: Bool

    shadingRateImage indicates that the implementation supports the use of a shading rate image to derive an effective shading rate for fragment processing. It also indicates that the implementation supports the ShadingRateNV SPIR-V execution mode.

  • shadingRateCoarseSampleOrder :: Bool

    shadingRateCoarseSampleOrder indicates that the implementation supports a user-configurable ordering of coverage samples in fragments larger than one pixel.

Instances

Instances details
Eq PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Show PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Generic PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Storable PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

FromCStruct PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

ToCStruct PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PhysicalDeviceShadingRateImageFeaturesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PhysicalDeviceShadingRateImageFeaturesNV = D1 ('MetaData "PhysicalDeviceShadingRateImageFeaturesNV" "Vulkan.Extensions.VK_NV_shading_rate_image" "vulkan-3.6.4-inplace" 'False) (C1 ('MetaCons "PhysicalDeviceShadingRateImageFeaturesNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadingRateImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "shadingRateCoarseSampleOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data PhysicalDeviceShadingRateImagePropertiesNV Source #

VkPhysicalDeviceShadingRateImagePropertiesNV - Structure describing shading rate image limits that can be supported by an implementation

Members

The members of the PhysicalDeviceShadingRateImagePropertiesNV structure describe the following implementation-dependent properties related to the shading rate image feature:

Description

If the PhysicalDeviceShadingRateImagePropertiesNV structure is included in the pNext chain of PhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

Valid Usage (Implicit)

See Also

Extent2D, StructureType

Constructors

PhysicalDeviceShadingRateImagePropertiesNV 

Fields

  • shadingRateTexelSize :: Extent2D

    shadingRateTexelSize indicates the width and height of the portion of the framebuffer corresponding to each texel in the shading rate image.

  • shadingRatePaletteSize :: Word32

    shadingRatePaletteSize indicates the maximum number of palette entries supported for the shading rate image.

  • shadingRateMaxCoarseSamples :: Word32

    shadingRateMaxCoarseSamples specifies the maximum number of coverage samples supported in a single fragment. If the product of the fragment size derived from the base shading rate and the number of coverage samples per pixel exceeds this limit, the final shading rate will be adjusted so that its product does not exceed the limit.

Instances

Instances details
Show PhysicalDeviceShadingRateImagePropertiesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Generic PhysicalDeviceShadingRateImagePropertiesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

FromCStruct PhysicalDeviceShadingRateImagePropertiesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

ToCStruct PhysicalDeviceShadingRateImagePropertiesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero PhysicalDeviceShadingRateImagePropertiesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PhysicalDeviceShadingRateImagePropertiesNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PhysicalDeviceShadingRateImagePropertiesNV = D1 ('MetaData "PhysicalDeviceShadingRateImagePropertiesNV" "Vulkan.Extensions.VK_NV_shading_rate_image" "vulkan-3.6.4-inplace" 'False) (C1 ('MetaCons "PhysicalDeviceShadingRateImagePropertiesNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadingRateTexelSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Extent2D) :*: (S1 ('MetaSel ('Just "shadingRatePaletteSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "shadingRateMaxCoarseSamples") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32))))

data CoarseSampleLocationNV Source #

VkCoarseSampleLocationNV - Structure specifying parameters controlling shading rate image usage

Valid Usage

See Also

CoarseSampleOrderCustomNV

Constructors

CoarseSampleLocationNV 

Fields

  • pixelX :: Word32

    pixelX is added to the x coordinate of the upper-leftmost pixel of each fragment to identify the pixel containing the coverage sample.

    pixelX must be less than the width (in pixels) of the fragment

  • pixelY :: Word32

    pixelY is added to the y coordinate of the upper-leftmost pixel of each fragment to identify the pixel containing the coverage sample.

    pixelY must be less than the height (in pixels) of the fragment

  • sample :: Word32

    sample is the number of the coverage sample in the pixel identified by pixelX and pixelY.

    sample must be less than the number of coverage samples in each pixel belonging to the fragment

Instances

Instances details
Eq CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Show CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Generic CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Associated Types

type Rep CoarseSampleLocationNV :: Type -> Type #

Storable CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

FromCStruct CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

ToCStruct CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep CoarseSampleLocationNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep CoarseSampleLocationNV = D1 ('MetaData "CoarseSampleLocationNV" "Vulkan.Extensions.VK_NV_shading_rate_image" "vulkan-3.6.4-inplace" 'False) (C1 ('MetaCons "CoarseSampleLocationNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "pixelX") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32) :*: (S1 ('MetaSel ('Just "pixelY") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "sample") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32))))

data CoarseSampleOrderCustomNV Source #

VkCoarseSampleOrderCustomNV - Structure specifying parameters controlling shading rate image usage

Description

When using a custom sample ordering, element j in pSampleLocations specifies a specific pixel location and sample index that corresponds to coverage index j in the multi-pixel fragment.

Valid Usage

  • shadingRate must be a shading rate that generates fragments with more than one pixel
  • sampleCount must correspond to a sample count enumerated in SampleCountFlags whose corresponding bit is set in PhysicalDeviceLimits::framebufferNoAttachmentsSampleCounts
  • sampleLocationCount must be equal to the product of sampleCount, the fragment width for shadingRate, and the fragment height for shadingRate
  • sampleLocationCount must be less than or equal to the value of PhysicalDeviceShadingRateImagePropertiesNV::shadingRateMaxCoarseSamples
  • The array pSampleLocations must contain exactly one entry for every combination of valid values for pixelX, pixelY, and sample in the structure CoarseSampleOrderCustomNV

Valid Usage (Implicit)

  • pSampleLocations must be a valid pointer to an array of sampleLocationCount CoarseSampleLocationNV structures
  • sampleLocationCount must be greater than 0

See Also

CoarseSampleLocationNV, PipelineViewportCoarseSampleOrderStateCreateInfoNV, ShadingRatePaletteEntryNV, cmdSetCoarseSampleOrderNV

Constructors

CoarseSampleOrderCustomNV 

Fields

Instances

Instances details
Show CoarseSampleOrderCustomNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Generic CoarseSampleOrderCustomNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Associated Types

type Rep CoarseSampleOrderCustomNV :: Type -> Type #

FromCStruct CoarseSampleOrderCustomNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

ToCStruct CoarseSampleOrderCustomNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero CoarseSampleOrderCustomNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep CoarseSampleOrderCustomNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep CoarseSampleOrderCustomNV = D1 ('MetaData "CoarseSampleOrderCustomNV" "Vulkan.Extensions.VK_NV_shading_rate_image" "vulkan-3.6.4-inplace" 'False) (C1 ('MetaCons "CoarseSampleOrderCustomNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadingRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ShadingRatePaletteEntryNV) :*: (S1 ('MetaSel ('Just "sampleCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "sampleLocations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector CoarseSampleLocationNV)))))

data PipelineViewportCoarseSampleOrderStateCreateInfoNV Source #

VkPipelineViewportCoarseSampleOrderStateCreateInfoNV - Structure specifying parameters controlling sample order in coarse fragments

Description

If this structure is not present, sampleOrderType is considered to be COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV.

If sampleOrderType is COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV, the coverage sample order used for any combination of fragment area and coverage sample count not enumerated in pCustomSampleOrders will be identical to that used for COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV.

If the pipeline was created with DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV, the contents of this structure (if present) are ignored, and the coverage sample order is instead specified by cmdSetCoarseSampleOrderNV.

Valid Usage

  • The array pCustomSampleOrders must not contain two structures with matching values for both the shadingRate and sampleCount members

Valid Usage (Implicit)

See Also

CoarseSampleOrderCustomNV, CoarseSampleOrderTypeNV, StructureType

Constructors

PipelineViewportCoarseSampleOrderStateCreateInfoNV 

Fields

Instances

Instances details
Show PipelineViewportCoarseSampleOrderStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Generic PipelineViewportCoarseSampleOrderStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

FromCStruct PipelineViewportCoarseSampleOrderStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

ToCStruct PipelineViewportCoarseSampleOrderStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero PipelineViewportCoarseSampleOrderStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PipelineViewportCoarseSampleOrderStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type Rep PipelineViewportCoarseSampleOrderStateCreateInfoNV = D1 ('MetaData "PipelineViewportCoarseSampleOrderStateCreateInfoNV" "Vulkan.Extensions.VK_NV_shading_rate_image" "vulkan-3.6.4-inplace" 'False) (C1 ('MetaCons "PipelineViewportCoarseSampleOrderStateCreateInfoNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "sampleOrderType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CoarseSampleOrderTypeNV) :*: S1 ('MetaSel ('Just "customSampleOrders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector CoarseSampleOrderCustomNV))))

newtype ShadingRatePaletteEntryNV Source #

VkShadingRatePaletteEntryNV - Shading rate image palette entry types

Description

The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV, no fragments will be generated in that region.

Shading Rate Width Height Invocations
SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV 0 0 0
SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV 1 1 16
SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV 1 1 8
SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV 1 1 4
SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV 1 1 2
SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV 1 1 1
SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV 2 1 1
SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV 1 2 1
SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV 2 2 1
SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV 4 2 1
SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV 2 4 1
SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV 4 4 1

See Also

CoarseSampleOrderCustomNV, ShadingRatePaletteNV

Instances

Instances details
Eq ShadingRatePaletteEntryNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Ord ShadingRatePaletteEntryNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Read ShadingRatePaletteEntryNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Show ShadingRatePaletteEntryNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Storable ShadingRatePaletteEntryNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero ShadingRatePaletteEntryNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

newtype CoarseSampleOrderTypeNV Source #

VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types

See Also

PipelineViewportCoarseSampleOrderStateCreateInfoNV, cmdSetCoarseSampleOrderNV

Bundled Patterns

pattern COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV :: CoarseSampleOrderTypeNV

COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV specifies that coverage samples will be ordered in an implementation-dependent manner.

pattern COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV :: CoarseSampleOrderTypeNV

COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV specifies that coverage samples will be ordered according to the array of custom orderings provided in either the pCustomSampleOrders member of PipelineViewportCoarseSampleOrderStateCreateInfoNV or the pCustomSampleOrders member of cmdSetCoarseSampleOrderNV.

pattern COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV :: CoarseSampleOrderTypeNV

COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV specifies that coverage samples will be ordered sequentially, sorted first by pixel coordinate (in row-major order) and then by sample index.

pattern COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV :: CoarseSampleOrderTypeNV

COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV specifies that coverage samples will be ordered sequentially, sorted first by sample index and then by pixel coordinate (in row-major order).

Instances

Instances details
Eq CoarseSampleOrderTypeNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Ord CoarseSampleOrderTypeNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Read CoarseSampleOrderTypeNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Show CoarseSampleOrderTypeNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Storable CoarseSampleOrderTypeNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

Zero CoarseSampleOrderTypeNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_shading_rate_image

type NV_SHADING_RATE_IMAGE_EXTENSION_NAME = "VK_NV_shading_rate_image" Source #

pattern NV_SHADING_RATE_IMAGE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #