To bind an embedded immutable sampler set to a command buffer, call:
// Provided by VK_EXT_descriptor_buffer void vkCmdBindDescriptorBufferEmbeddedSamplersEXT( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set);
commandBufferis the command buffer that the embedded immutable samplers will be bound to.
pipelineBindPointis a VkPipelineBindPoint indicating the type of the pipeline that will use the embedded immutable samplers.
layoutis a VkPipelineLayout object used to program the bindings.
setis the number of the set to be bound.
vkCmdBindDescriptorBufferEmbeddedSamplersEXT binds the embedded immutable
set for the command buffer
for subsequent bound pipeline commands set
Any previous binding to this set by vkCmdSetDescriptorBufferOffsetsEXT
or this command is overwritten.
Any sets that were last bound by a call to vkCmdBindDescriptorSets are
invalidated upon calling this command.
Other sets will also be invalidated upon calling this command if
layout differs from the pipeline layout used to bind those other sets,
as described in Pipeline Layout
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.