Home | History | Annotate | Download | only in layers

Lines Matching refs:Descriptor

59 // Descriptor Data structures
66 * type, descriptor count, stage flags, and pImmutableSamplers.
83 * descriptor 0 of pBinding[0] is index 0 and each descriptor in the layout increments
143 * Descriptor classes
144 * Descriptor is an abstract base class from which 5 separate descriptor types are derived.
146 * descriptor type, but all descriptors in a set can be accessed via the common Descriptor*.
152 class Descriptor {
154 virtual ~Descriptor(){};
156 virtual void CopyUpdate(const Descriptor *) = 0;
157 // Create binding between resources of this descriptor and given cb_node
162 // Check for dynamic descriptor type
164 // Check for storage descriptor type
166 bool updated; // Has descriptor been updated?
169 // Shared helper functions - These are useful because the shared sampler image descriptor type
175 class SamplerDescriptor : public Descriptor {
180 void CopyUpdate(const Descriptor *) override;
191 class ImageSamplerDescriptor : public Descriptor {
196 void CopyUpdate(const Descriptor *) override;
210 class ImageDescriptor : public Descriptor {
214 void CopyUpdate(const Descriptor *) override;
226 class TexelDescriptor : public Descriptor {
230 void CopyUpdate(const Descriptor *) override;
240 class BufferDescriptor : public Descriptor {
244 void CopyUpdate(const Descriptor *) override;
265 // Helper functions for descriptor set functions that cross multiple sets
286 * types and numbers of descriptors in each descriptor slot. Most of the layout
291 * At construction a vector of Descriptor* is created with types corresponding to the
333 // Descriptor Update functions. These functions validate state and perform update separately
349 // Bind given cmd_buffer to this descriptor set
380 std::vector<std::unique_ptr<Descriptor>> descriptors_;