-
Store binding information in the pipeline layout · 026f7d07Nicolas Capens authored
Descriptor set layout binding information needed by the pipeline layout has to persist after the descriptor set layout object has been destroyed. The spec states: "VkDescriptorSetLayout objects may be accessed by commands that operate on descriptor sets allocated using that layout, and those descriptor sets must not be updated with vkUpdateDescriptorSets after the descriptor set layout has been destroyed. Otherwise, a VkDescriptorSetLayout object passed as a parameter to create another object is not further accessed by that object after the duration of the command it is passed into." Bug: b/154522740 Change-Id: Ia6349383139ae0fceac328a685b06e2ec253a589 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44328 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by:
Ben Clayton <bclayton@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
026f7d07
×