Home
last modified time | relevance | path

Searched refs:DescriptorSetLayout (Results 1 – 25 of 64) sorted by relevance

123

/external/rust/crates/vulkano/src/descriptor_set/layout/
Dsys.rs25 pub struct DescriptorSetLayout { struct
27 handle: ash::vk::DescriptorSetLayout, argument
36 impl DescriptorSetLayout { argument
42 pub fn new<D>(device: Arc<Device>, desc: D) -> Result<DescriptorSetLayout, OomError> in new() argument
96 Ok(DescriptorSetLayout { in new()
127 unsafe impl DeviceOwned for DescriptorSetLayout { implementation
134 unsafe impl VulkanObject for DescriptorSetLayout { implementation
135 type Object = ash::vk::DescriptorSetLayout;
138 fn internal_object(&self) -> ash::vk::DescriptorSetLayout { in internal_object() argument
143 impl Drop for DescriptorSetLayout { implementation
[all …]
Dmod.rs26 pub use self::sys::DescriptorSetLayout;
/external/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp38 DescriptorSetLayout::DescriptorSetLayout(const VkDescriptorSetLayoutCreateInfo *pCreateInfo, void *… in DescriptorSetLayout() function in vk::DescriptorSetLayout
63 vk::DescriptorSetLayout::Binding &dstBinding = bindings[srcBinding.binding]; in DescriptorSetLayout()
91 void DescriptorSetLayout::destroy(const VkAllocationCallbacks *pAllocator) in destroy()
96 size_t DescriptorSetLayout::ComputeRequiredAllocationSize(const VkDescriptorSetLayoutCreateInfo *pC… in ComputeRequiredAllocationSize()
114 uint32_t DescriptorSetLayout::GetDescriptorSize(VkDescriptorType type) in GetDescriptorSize()
140 bool DescriptorSetLayout::IsDescriptorDynamic(VkDescriptorType type) in IsDescriptorDynamic()
146 size_t DescriptorSetLayout::getDescriptorSetAllocationSize() const in getDescriptorSetAllocationSize()
152 size_t DescriptorSetLayout::getDescriptorSetDataSize() const in getDescriptorSetDataSize()
163 void DescriptorSetLayout::initialize(DescriptorSet *descriptorSet) in initialize()
226 uint32_t DescriptorSetLayout::getBindingOffset(uint32_t bindingNumber) const in getBindingOffset()
[all …]
DVkDescriptorSetLayout.hpp84 class DescriptorSetLayout : public Object<DescriptorSetLayout, VkDescriptorSetLayout> class
96 DescriptorSetLayout(const VkDescriptorSetLayoutCreateInfo *pCreateInfo, void *mem);
147 static inline DescriptorSetLayout *Cast(VkDescriptorSetLayout object) in Cast()
149 return DescriptorSetLayout::Cast(object); in Cast()
DVkPipelineLayout.cpp36 const vk::DescriptorSetLayout *setLayout = vk::Cast(pCreateInfo->pSetLayouts[i]); in PipelineLayout()
49 if(DescriptorSetLayout::IsDescriptorDynamic(descriptorSets[i].bindings[j].descriptorType)) in PipelineLayout()
126 return DescriptorSetLayout::GetDescriptorSize(getDescriptorType(setNumber, bindingNumber)); in getDescriptorSize()
131 return DescriptorSetLayout::IsDescriptorDynamic(getDescriptorType(setNumber, bindingNumber)); in isDescriptorDynamic()
DVkDescriptorUpdateTemplate.hpp22 class DescriptorSetLayout;
37 DescriptorSetLayout *descriptorSetLayout = nullptr;
DVkDescriptorSet.hpp27 class DescriptorSetLayout;
33 DescriptorSetLayout *layout;
DVkDescriptorUpdateTemplate.cpp45 DescriptorSetLayout::WriteDescriptorSet(device, descriptorSet, descriptorUpdateEntries[i], in updateDescriptorSet()
DVkDevice.cpp372 DescriptorSetLayout::WriteDescriptorSet(this, pDescriptorWrites[i]); in updateDescriptorSets()
377 DescriptorSetLayout::CopyDescriptorSet(pDescriptorCopies[i]); in updateDescriptorSets()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.h187 class DescriptorSetLayout {
190DescriptorSetLayout(const VkDescriptorSetLayoutCreateInfo *p_create_info, const VkDescriptorSetLay…
195 bool IsCompatible(DescriptorSetLayout const *rh_ds_layout) const;
272 …ConstBindingIterator(const DescriptorSetLayout *layout) : layout_(layout), index_(0) { assert(layo… in ConstBindingIterator()
273 …ConstBindingIterator(const DescriptorSetLayout *layout, uint32_t binding) : ConstBindingIterator(l… in ConstBindingIterator()
325 const DescriptorSetLayout *Layout() const { return layout_; } in Layout()
334 const DescriptorSetLayout *layout_;
375 bool VerifySetLayoutCompatibility(DescriptorSetLayout const *lh_ds_layout, DescriptorSetLayout cons…
492 std::vector<std::shared_ptr<DescriptorSetLayout const>> layout_nodes;
507 bool VerifyUpdateConsistency(DescriptorSetLayout::ConstBindingIterator current_binding, uint32_t of…
[all …]
Ddescriptor_sets.cpp56 using DescriptorSetLayout = cvdescriptorset::DescriptorSetLayout; typedef
221 bool cvdescriptorset::DescriptorSetLayout::IsCompatible(DescriptorSetLayout const *rh_ds_layout) co… in IsCompatible()
227 …cvdescriptorset::VerifySetLayoutCompatibility(DescriptorSetLayout const *lh_ds_layout, DescriptorS… in VerifySetLayoutCompatibility()
311 cvdescriptorset::DescriptorSetLayout::DescriptorSetLayout(const VkDescriptorSetLayoutCreateInfo *p_… in DescriptorSetLayout() function in cvdescriptorset::DescriptorSetLayout
548 … const std::shared_ptr<DescriptorSetLayout const> &layout, uint32_t variable_count, in DescriptorSet()
666DescriptorSetLayout::ConstBindingIterator binding_it(descriptor_set->GetLayout().get(), binding); in ValidateDrawState()
1040 …if ((!VerifyUpdateConsistency(DescriptorSetLayout::ConstBindingIterator(src_layout.get(), update->… in ValidateCopyUpdate()
1043 …(!VerifyUpdateConsistency(DescriptorSetLayout::ConstBindingIterator(dst_layout.get(), update->dstB… in ValidateCopyUpdate()
2288 bool cvdescriptorset::VerifyUpdateConsistency(DescriptorSetLayout::ConstBindingIterator current_bin… in VerifyUpdateConsistency()
2352 DescriptorSetLayout::ConstBindingIterator dest(dest_layout.get(), update->dstBinding); in ValidateWriteUpdate()
[all …]
/external/rust/crates/vulkano/src/descriptor_set/pool/
Dstandard.rs10 use crate::descriptor_set::layout::DescriptorSetLayout;
67 fn alloc(&mut self, layout: &DescriptorSetLayout) -> Result<StdDescriptorPoolAlloc, OomError> { in alloc()
183 use crate::descriptor_set::layout::DescriptorSetLayout;
201 let layout = DescriptorSetLayout::new( in desc_pool_kept_alive()
Dsys.rs11 use crate::descriptor_set::layout::DescriptorSetLayout;
158 I: IntoIterator<Item = &'l DescriptorSetLayout>, in alloc()
179 layouts: &SmallVec<[ash::vk::DescriptorSetLayout; 8]>, in alloc_impl()
380 use crate::descriptor_set::layout::DescriptorSetLayout;
433 let set_layout = DescriptorSetLayout::new( in basic_alloc()
467 DescriptorSetLayout::new(device1, DescriptorSetDesc::new(iter::once(Some(layout)))) in alloc_diff_device()
Dmod.rs16 use crate::descriptor_set::layout::DescriptorSetLayout;
38 fn alloc(&mut self, layout: &DescriptorSetLayout) -> Result<Self::Alloc, OomError>; in alloc()
/external/rust/crates/vulkano/src/pipeline/layout/
Dsys.rs14 use crate::descriptor_set::layout::DescriptorSetLayout;
35 descriptor_set_layouts: SmallVec<[Arc<DescriptorSetLayout>; 16]>,
48 D: IntoIterator<Item = Arc<DescriptorSetLayout>>, in new()
52 let descriptor_set_layouts: SmallVec<[Arc<DescriptorSetLayout>; 16]> = in new()
158 pub fn descriptor_set_layouts(&self) -> &[Arc<DescriptorSetLayout>] { in descriptor_set_layouts() argument
Dlimits_check.rs12 use crate::descriptor_set::layout::DescriptorSetLayout;
24 descriptor_set_layouts: &[Arc<DescriptorSetLayout>], in check_desc_against_limits() argument
/external/rust/crates/vulkano/src/descriptor_set/
Dfixed_size_pool.rs50 use crate::descriptor_set::layout::DescriptorSetLayout;
72 layout: Arc<DescriptorSetLayout>,
81 pub fn new(layout: Arc<DescriptorSetLayout>) -> FixedSizeDescriptorSetsPool { in new()
120 fn layout(&self) -> &Arc<DescriptorSetLayout> { in layout() argument
213 fn alloc(&mut self, layout: &DescriptorSetLayout) -> Result<Self::Alloc, OomError> { in alloc()
Dmod.rs78 use self::layout::DescriptorSetLayout;
109 fn layout(&self) -> &Arc<DescriptorSetLayout>; in layout() argument
150 fn layout(&self) -> &Arc<DescriptorSetLayout> { in layout() argument
Dpersistent.rs36 use crate::descriptor_set::layout::DescriptorSetLayout;
62 layout: Arc<DescriptorSetLayout>,
72 pub fn start(layout: Arc<DescriptorSetLayout>) -> PersistentDescriptorSetBuilder<()> { in start()
95 fn layout(&self) -> &Arc<DescriptorSetLayout> { in layout() argument
165 layout: Arc<DescriptorSetLayout>,
/external/vulkan-validation-layers/tests/
Dvktestbinding.h72 class DescriptorSetLayout; variable
634 …ce &dev, VkPipelineLayoutCreateInfo &info, const std::vector<const DescriptorSetLayout *> &layouts…
645 class DescriptorSetLayout : public internal::NonDispHandle<VkDescriptorSetLayout> {
647 DescriptorSetLayout() NOEXCEPT : NonDispHandle(){}; in DescriptorSetLayout() function
648 ~DescriptorSetLayout();
651 DescriptorSetLayout(DescriptorSetLayout &&src) : NonDispHandle(std::move(src)){}; in DescriptorSetLayout() function
653 DescriptorSetLayout &operator=(DescriptorSetLayout &&src) NOEXCEPT {
654 this->~DescriptorSetLayout();
682 …riptorSet *> alloc_sets(const Device &dev, const std::vector<const DescriptorSetLayout *> &layouts…
683 …std::vector<DescriptorSet *> alloc_sets(const Device &dev, const DescriptorSetLayout &layout, uint…
[all …]
Dvktestbinding.cpp753 const std::vector<const DescriptorSetLayout *> &layouts) { in NON_DISPATCHABLE_HANDLE_DTOR()
767 NON_DISPATCHABLE_HANDLE_DTOR(DescriptorSetLayout, vkDestroyDescriptorSetLayout) in NON_DISPATCHABLE_HANDLE_DTOR() argument
769 void DescriptorSetLayout::init(const Device &dev, const VkDescriptorSetLayoutCreateInfo &info) { in NON_DISPATCHABLE_HANDLE_DTOR()
783 … const std::vector<const DescriptorSetLayout *> &layouts) { in alloc_sets()
806 …scriptorSet *> DescriptorPool::alloc_sets(const Device &dev, const DescriptorSetLayout &layout, ui… in alloc_sets()
807 return alloc_sets(dev, std::vector<const DescriptorSetLayout *>(count, &layout)); in alloc_sets()
810 DescriptorSet *DescriptorPool::alloc_sets(const Device &dev, const DescriptorSetLayout &layout) { in alloc_sets()
Dvkrenderframework.h360 class VkDescriptorSetLayoutObj : public vk_testing::DescriptorSetLayout {
368 … VkDescriptorSetLayoutObj(VkDescriptorSetLayoutObj &&src) : DescriptorSetLayout(std::move(src)){}; in VkDescriptorSetLayoutObj()
370 DescriptorSetLayout::operator=(std::move(src));
397 vk_testing::DescriptorSetLayout m_layout;
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryDeviceMemoryReportTests.cpp819 struct DescriptorSetLayout struct
927 std::vector<DescriptorSetLayout::Parameters> descriptorSetLayouts;
937 static Parameters singleDescriptorSet (const DescriptorSetLayout::Parameters& descriptorSetLayout) in singleDescriptorSet()
947 typedef SharedPtr<Dependency<DescriptorSetLayout>> DescriptorSetLayoutDepSp;
955 …for (std::vector<DescriptorSetLayout::Parameters>::const_iterator dsParams = params.descriptorSetL… in Resources()
959 …descriptorSetLayouts.push_back(DescriptorSetLayoutDepSp(new Dependency<DescriptorSetLayout>(env, *… in Resources()
1028DescriptorSetLayout::Parameters::single(0u, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 1u, VK_SHAD… in Resources()
1237 static DescriptorSetLayout::Parameters getDescriptorSetLayout (void) in getDescriptorSetLayout()
1239 typedef DescriptorSetLayout::Parameters::Binding Binding; in getDescriptorSetLayout()
1246 return DescriptorSetLayout::Parameters(bindings); in getDescriptorSetLayout()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp1398 struct DescriptorSetLayout struct
1488 return getSafeObjectCount<DescriptorSetLayout>(context, params, DEFAULT_MAX_CONCURRENT_OBJECTS); in getMaxConcurrent()
1512 vector<DescriptorSetLayout::Parameters> descriptorSetLayouts;
1522 static Parameters singleDescriptorSet (const DescriptorSetLayout::Parameters& descriptorSetLayout) in singleDescriptorSet()
1532 typedef SharedPtr<Dependency<DescriptorSetLayout> > DescriptorSetLayoutDepSp;
1540 …for (vector<DescriptorSetLayout::Parameters>::const_iterator dsParams = params.descriptorSetLayout… in Resources()
1544 …descriptorSetLayouts.push_back(DescriptorSetLayoutDepSp(new Dependency<DescriptorSetLayout>(env, *… in Resources()
1626DescriptorSetLayout::Parameters::single(0u, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 1u, VK_SHAD… in Resources()
1853 static DescriptorSetLayout::Parameters getDescriptorSetLayout (void) in getDescriptorSetLayout()
1855 typedef DescriptorSetLayout::Parameters::Binding Binding; in getDescriptorSetLayout()
[all …]
/external/rust/crates/vulkano/src/pipeline/
Dcompute_pipeline.rs11 use crate::descriptor_set::layout::DescriptorSetLayout;
70 Ok(Arc::new(DescriptorSetLayout::new( in new()

123