Home | History | Annotate | Download | only in layers

Lines Matching defs:Descriptor

41 // Descriptor Data structures
59 * type, descriptor count, stage flags, and pImmutableSamplers.
79 * descriptor 0 of of the lowest binding# is index 0 and each descriptor in the layout
145 // Helper function to get the next valid binding for a descriptor
165 std::map<uint32_t, uint32_t> global_start_to_index_map_; // The index corresponding for a starting global (descriptor) index
178 * Descriptor classes
179 * Descriptor is an abstract base class from which 5 separate descriptor types are derived.
181 * descriptor type, but all descriptors in a set can be accessed via the common Descriptor*.
187 class Descriptor {
189 virtual ~Descriptor(){};
191 virtual void CopyUpdate(const Descriptor *) = 0;
192 // Create binding between resources of this descriptor and given cb_node
197 // Check for dynamic descriptor type
199 // Check for storage descriptor type
201 bool updated; // Has descriptor been updated?
204 // Shared helper functions - These are useful because the shared sampler image descriptor type
210 class SamplerDescriptor : public Descriptor {
214 void CopyUpdate(const Descriptor *) override;
225 class ImageSamplerDescriptor : public Descriptor {
229 void CopyUpdate(const Descriptor *) override;
243 class ImageDescriptor : public Descriptor {
247 void CopyUpdate(const Descriptor *) override;
259 class TexelDescriptor : public Descriptor {
263 void CopyUpdate(const Descriptor *) override;
273 class BufferDescriptor : public Descriptor {
277 void CopyUpdate(const Descriptor *) override;
298 // Helper functions for descriptor set functions that cross multiple sets
325 * types and numbers of descriptors in each descriptor slot. Most of the layout
330 * At construction a vector of Descriptor* is created with types corresponding to the
370 // Descriptor Update functions. These functions validate state and perform update separately
386 // Bind given cmd_buffer to this descriptor set
389 // Track work that has been bound or validated to avoid duplicate work, important when large descriptor arrays
430 std::vector<std::unique_ptr<Descriptor>> descriptors_;