VkShaderDescriptorSetAndBindingMappingInfoEXT
The VkShaderDescriptorSetAndBindingMappingInfoEXT structure is defined
as:
typedef struct VkShaderDescriptorSetAndBindingMappingInfoEXT {
VkStructureType sType;
const void* pNext;
uint32_t mappingCount;
const VkDescriptorSetAndBindingMappingEXT* pMappings;
} VkShaderDescriptorSetAndBindingMappingInfoEXT;
pub struct ShaderDescriptorSetAndBindingMappingInfoEXT {
s_type: vk::StructureType,
p_next: *const c_void,
mapping_count: u32,
p_mappings: *const vk::DescriptorSetAndBindingMappingEXT,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.mappingCountis the number of elements inpMappings.pMappingsis a pointer to an array of VkDescriptorSetAndBindingMappingEXT structures specifying mappings for a set of descriptors
Including this structure in the pNext chain of
VkPipelineShaderStageCreateInfo will set mappings for the shader
defined by that structure.
Similarly, including this structure in the pNext chain of a
VkShaderCreateInfoEXT with a codeType of
VK_SHADER_CODE_TYPE_SPIRV_EXT, will set mappings for that shader.
If this structure is not present, it is equivalent to setting
mappingCount to 0.
Valid Usage
VUID-VkShaderDescriptorSetAndBindingMappingInfoEXT-pMappings-11244
Any two elements of pMappings must not have the same value of
descriptorSet, an overlapping range specified by
firstBinding and bindingCount, and any overlapping bits in
resourceMask
Valid Usage (Implicit)
VUID-VkShaderDescriptorSetAndBindingMappingInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_SHADER_DESCRIPTOR_SET_AND_BINDING_MAPPING_INFO_EXT
VUID-VkShaderDescriptorSetAndBindingMappingInfoEXT-pMappings-parameter
If mappingCount is not 0, pMappings must be a valid pointer to an array of mappingCount valid VkDescriptorSetAndBindingMappingEXT structures