Structures

VkBindDescriptorBufferEmbeddedSamplersInfoEXT

Structure specifying embedded immutable sampler offsets to set in a command buffer

The VkBindDescriptorBufferEmbeddedSamplersInfoEXT structure is defined as:

typedef struct VkBindDescriptorBufferEmbeddedSamplersInfoEXT {
    VkStructureType sType;
    const void* pNext;
    VkShaderStageFlags stageFlags;
    VkPipelineLayout layout;
    uint32_t set;
} VkBindDescriptorBufferEmbeddedSamplersInfoEXT;

If stageFlags specifies a subset of all stages corresponding to one or more pipeline bind points, the binding operation still affects all stages corresponding to the given pipeline bind point(s) as if the equivalent original version of this command had been called with the same parameters. For example, specifying a stageFlags value of VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT | VK_SHADER_STAGE_COMPUTE_BIT is equivalent to calling the original version of this command once with VK_PIPELINE_BIND_POINT_GRAPHICS and once with VK_PIPELINE_BIND_POINT_COMPUTE.

Valid Usage

VUID-VkBindDescriptorBufferEmbeddedSamplersInfoEXT-set-08070

The VkDescriptorSetLayout at index set when layout was created must have been created with the VK_DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT bit set

VUID-VkBindDescriptorBufferEmbeddedSamplersInfoEXT-set-08071

set must be less than or equal to VkPipelineLayoutCreateInfo::setLayoutCount provided when layout was created

Valid Usage (Implicit)

VUID-VkBindDescriptorBufferEmbeddedSamplersInfoEXT-sType-sType

sType must be VK_STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT

VUID-VkBindDescriptorBufferEmbeddedSamplersInfoEXT-sType-unique

The sType value of each struct in the pNext chain must be unique