Structures
VkPhysicalDeviceTileShadingFeaturesQCOM
Structure describing tile shading features that can be supported by an implementation
The VkPhysicalDeviceTileShadingFeaturesQCOM structure is defined as:
typedef struct VkPhysicalDeviceTileShadingFeaturesQCOM {
VkStructureType sType;
void* pNext;
VkBool32 tileShading;
VkBool32 tileShadingFragmentStage;
VkBool32 tileShadingColorAttachments;
VkBool32 tileShadingDepthAttachments;
VkBool32 tileShadingStencilAttachments;
VkBool32 tileShadingInputAttachments;
VkBool32 tileShadingSampledAttachments;
VkBool32 tileShadingPerTileDraw;
VkBool32 tileShadingPerTileDispatch;
VkBool32 tileShadingDispatchTile;
VkBool32 tileShadingApron;
VkBool32 tileShadingAnisotropicApron;
VkBool32 tileShadingAtomicOps;
VkBool32 tileShadingImageProcessing;
} VkPhysicalDeviceTileShadingFeaturesQCOM;
pub struct PhysicalDeviceTileShadingFeaturesQCOM {
s_type: vk::StructureType,
p_next: *mut c_void,
tile_shading: vk::Bool32,
tile_shading_fragment_stage: vk::Bool32,
tile_shading_color_attachments: vk::Bool32,
tile_shading_depth_attachments: vk::Bool32,
tile_shading_stencil_attachments: vk::Bool32,
tile_shading_input_attachments: vk::Bool32,
tile_shading_sampled_attachments: vk::Bool32,
tile_shading_per_tile_draw: vk::Bool32,
tile_shading_per_tile_dispatch: vk::Bool32,
tile_shading_dispatch_tile: vk::Bool32,
tile_shading_apron: vk::Bool32,
tile_shading_anisotropic_apron: vk::Bool32,
tile_shading_atomic_ops: vk::Bool32,
tile_shading_image_processing: vk::Bool32,
}
This structure describes the following features:
- FEATURES TILESHADING
tileShadingindicates that the implementation supports tile shading render pass instances. - FEATURES TILESHADINGFRAGMENTSTAGE
tileShadingFragmentStageindicates that the implementation supports tile shading in the fragment stage. - FEATURES TILESHADINGCOLORATTACHMENTS
tileShadingColorAttachmentsindicates that the implementation supports access to color attachments in a tile shader. - FEATURES TILESHADINGDEPTHATTACHMENTS
tileShadingDepthAttachmentsindicates that the implementation supports access to depth aspect of depth stencil attachments. - FEATURES TILESHADINGSTENCILATTACHMENTS
tileShadingStencilAttachmentsindicates that the implementation supports access to stencil aspect of depth stencil attachments. - FEATURES TILESHADINGINPUTATTACHMENTS
tileShadingInputAttachmentsindicates that the implementation supports access to input attachments. - FEATURES TILESHADINGSAMPLEDATTACHMENTS
tileShadingSampledAttachmentsindicates that the implementation supports access to sampling of tile attachments. - FEATURES TILESHADINGPERTILEDRAW
tileShadingPerTileDrawindicates that the implementation supports the recording of vkCmdDraw* commands when per-tile execution model is enabled. - FEATURES TILESHADINGPERTILEDISPATCH
tileShadingPerTileDispatchindicates that the implementation supports the recording ofvkCmdDispatch* commands within those regions of a command buffer where the per-tile execution model is enabled. - FEATURES TILESHADINGDISPATCHTILE
tileShadingDispatchTileindicates that the implementation supports the recording of vkCmdDispatchTileQCOM commands. - FEATURES TILESHADINGAPRON
tileShadingApronindicates that the implementation supports VkRenderPassTileShadingCreateInfoQCOM::apronSizevalue other than (0,0). See Tiling Aprons for more information. - FEATURES TILESHADINGANISOTROPICAPRON
tileShadingAnisotropicApronindicates that the implementation supports VkRenderPassTileShadingCreateInfoQCOM::apronSizeset to a value whereapronSize.widthdiffers fromapronSize.height. - FEATURES TILESHADINGATOMICOPS
tileShadingAtomicOpsindicates that the implementation supports atomic operations on tile attachment variables. - FEATURES TILESHADINGIMAGEPROCESSING
tileShadingImageProcessingindicates that the implementation supports image processing operations with tile attachments.
If the VkPhysicalDeviceTileShadingFeaturesQCOM structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceTileShadingFeaturesQCOM, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceTileShadingFeaturesQCOM-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_SHADING_FEATURES_QCOM