vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_shader_tile_image

Description

Name

VK_EXT_shader_tile_image - device extension

VK_EXT_shader_tile_image

Name String
VK_EXT_shader_tile_image
Extension Type
Device extension
Registered Extension Number
396
Revision
1
Ratification Status
Ratified
Extension and Version Dependencies
Version 1.3
Contact
Extension Proposal
VK_EXT_shader_tile_image

Other Extension Metadata

Last Modified Date
2023-03-23
IP Status
No known IP claims.
Interactions and External Dependencies
Contributors
  • Sandeep Kakarlapudi, Arm
  • Jan-Harald Fredriksen, Arm
  • James Fitzpatrick, Imagination
  • Andrew Garrard, Imagination
  • Jeff Leger, Qualcomm
  • Huilong Wang, Huawei
  • Graeme Leese, Broadcom
  • Hans-Kristian Arntzen, Valve
  • Tobias Hector, AMD
  • Jeff Bolz, NVIDIA
  • Shahbaz Youssefi, Google

Description

This extension allows fragment shader invocations to read color, depth and stencil values at their pixel location in rasterization order. The functionality is only available when using dynamic render passes introduced by VK_KHR_dynamic_rendering. Example use cases are programmable blending and deferred shading.

See fragment shader tile image reads for more information.

New Structures

New Enum Constants

Issues

None.

Examples

Color read example.

layout( location = 0  ) tileImageEXT highp attachmentEXT color0;
layout( location = 1  ) tileImageEXT highp attachmentEXT color1;

layout( location = 0 ) out vec4 fragColor;

void main()
{
    vec4 value = colorAttachmentReadEXT(color0) + colorAttachmentReadEXT(color1);
    fragColor = value;
}

Depth & Stencil read example.

void main()
{
    // read sample 0: works for non-MSAA or MSAA targets
    highp float last_depth = depthAttachmentReadEXT();
    lowp uint last_stencil = stencilAttachmentReadEXT();

    //..
}

Version History

  • Revision 1, 2023-03-23 (Sandeep Kakarlapudi)

    • Initial version

See Also

PhysicalDeviceShaderTileImageFeaturesEXT, PhysicalDeviceShaderTileImagePropertiesEXT

Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

Synopsis

Documentation

data PhysicalDeviceShaderTileImageFeaturesEXT Source #

VkPhysicalDeviceShaderTileImageFeaturesEXT - Structure describing tile image features supported by the implementation

Members

The members of the PhysicalDeviceShaderTileImageFeaturesEXT structure describe the following features:

Description

If the PhysicalDeviceShaderTileImageFeaturesEXT structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. PhysicalDeviceShaderTileImageFeaturesEXT can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_EXT_shader_tile_image, Bool32, StructureType

Constructors

PhysicalDeviceShaderTileImageFeaturesEXT 

Fields

Instances

Instances details
Storable PhysicalDeviceShaderTileImageFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

Show PhysicalDeviceShaderTileImageFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

Eq PhysicalDeviceShaderTileImageFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

FromCStruct PhysicalDeviceShaderTileImageFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

ToCStruct PhysicalDeviceShaderTileImageFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

Zero PhysicalDeviceShaderTileImageFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

data PhysicalDeviceShaderTileImagePropertiesEXT Source #

VkPhysicalDeviceShaderTileImagePropertiesEXT - Structure containing information about tile image support for a physical device

Description

If the PhysicalDeviceShaderTileImagePropertiesEXT structure is included in the pNext chain of the PhysicalDeviceProperties2 structure passed to getPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

These are properties of the tile image information of a physical device.

Valid Usage (Implicit)

See Also

VK_EXT_shader_tile_image, Bool32, StructureType

Constructors

PhysicalDeviceShaderTileImagePropertiesEXT 

Fields

Instances

Instances details
Storable PhysicalDeviceShaderTileImagePropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

Show PhysicalDeviceShaderTileImagePropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

Eq PhysicalDeviceShaderTileImagePropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

FromCStruct PhysicalDeviceShaderTileImagePropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

ToCStruct PhysicalDeviceShaderTileImagePropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

Zero PhysicalDeviceShaderTileImagePropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_tile_image

type EXT_SHADER_TILE_IMAGE_EXTENSION_NAME = "VK_EXT_shader_tile_image" Source #

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