Home
last modified time | relevance | path

Searched refs:descriptorType (Results 1 – 25 of 57) sorted by relevance

123

/external/deqp/external/vulkancts/framework/vulkan/
DvkBuilderUtil.hpp39 DescriptorSetLayoutBuilder& addBinding (VkDescriptorType descriptorType,
44 DescriptorSetLayoutBuilder& addIndexedBinding (VkDescriptorType descriptorType,
54 inline DescriptorSetLayoutBuilder& addSingleBinding (VkDescriptorType descriptorType, in addSingleBinding() argument
57 return addBinding(descriptorType, 1u, stageFlags, (VkSampler*)DE_NULL); in addSingleBinding()
59 inline DescriptorSetLayoutBuilder& addSingleIndexedBinding (VkDescriptorType descriptorType, in addSingleIndexedBinding() argument
63 return addIndexedBinding(descriptorType, 1u, stageFlags, dstBinding, (VkSampler*)DE_NULL); in addSingleIndexedBinding()
65 inline DescriptorSetLayoutBuilder& addArrayBinding (VkDescriptorType descriptorType, in addArrayBinding() argument
69 return addBinding(descriptorType, descriptorCount, stageFlags, (VkSampler*)DE_NULL); in addArrayBinding()
71 inline DescriptorSetLayoutBuilder& addSingleSamplerBinding (VkDescriptorType descriptorType, in addSingleSamplerBinding() argument
77 return addBinding(descriptorType, 1u, stageFlags, immutableSampler); in addSingleSamplerBinding()
[all …]
DvkBuilderUtil.cpp37 DescriptorSetLayoutBuilder& DescriptorSetLayoutBuilder::addBinding (VkDescriptorType descriptorType, in addBinding() argument
60 descriptorType, // descriptorType in addBinding()
69 …rSetLayoutBuilder& DescriptorSetLayoutBuilder::addIndexedBinding (VkDescriptorType descriptorType, in addIndexedBinding() argument
93 descriptorType, // descriptorType in addIndexedBinding()
200 VkDescriptorType descriptorType, in write() argument
214 descriptorType, //!< descriptorType in write()
DvkTypeUtil.inl225 …g makeDescriptorSetLayoutBinding (deUint32 binding, VkDescriptorType descriptorType, deUint32 desc… argument
229 res.descriptorType = descriptorType;
380 …deUint32 dstArrayElement, deUint32 descriptorCount, VkDescriptorType descriptorType, deUintptr off… argument
386 res.descriptorType = descriptorType;
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiMaintenance3Check.cpp159 descriptorSetLayoutBinding[ndx].descriptorType = static_cast<VkDescriptorType>(ndx); in iterate()
231 if ((descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in extraLimitCheck()
232 (descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) in extraLimitCheck()
235 if ((descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in extraLimitCheck()
236 (descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC)) in extraLimitCheck()
239 if ((descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in extraLimitCheck()
240 (descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) in extraLimitCheck()
243 …if ((descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) … in extraLimitCheck()
244 (descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || in extraLimitCheck()
245 (descriptorSetLayoutBinding[ndx].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER)) in extraLimitCheck()
[all …]
DvktApiDescriptorPoolTests.cpp198 for (VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in outOfPoolMemoryTest() local
199 descriptorType < VK_DESCRIPTOR_TYPE_LAST; in outOfPoolMemoryTest()
200 descriptorType = static_cast<VkDescriptorType>(descriptorType + 1)) in outOfPoolMemoryTest()
202 …).getLog() << tcu::TestLog::Message << "- " << getDescriptorTypeName(descriptorType) << tcu::TestL… in outOfPoolMemoryTest()
206 descriptorType, // type in outOfPoolMemoryTest()
225 descriptorType, // VkDescriptorType descriptorType; in outOfPoolMemoryTest()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp89 bool isValidTestCase (TestType testType, DescriptorType descriptorType, ReadOp readOp) in isValidTestCase() argument
95 if (descriptorType != DESCRIPTOR_TYPE_STORAGE_IMAGE && in isValidTestCase()
96 descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
97 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
98 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase()
103 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
104 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
105 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase()
110 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
111 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
[all …]
DvktSpvAsmUtils.hpp151 , descriptorType(descriptorType_) in Resource()
159 virtual void setDescriptorType (vk::VkDescriptorType type) { descriptorType = type; } in setDescriptorType()
160 virtual vk::VkDescriptorType getDescriptorType () const { return descriptorType; } in getDescriptorType()
164 vk::VkDescriptorType descriptorType; member in vkt::SpirVAssembly::Resource
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorSetRandomTests.cpp368 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
383 binding.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in generateRandomLayout()
392 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in generateRandomLayout()
401 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER; in generateRandomLayout()
410 binding.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in generateRandomLayout()
421 binding.descriptorType = VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT; in generateRandomLayout()
434 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
438 binding.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC; in generateRandomLayout()
450 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; in generateRandomLayout()
474 bindings[bindings.size()-1].descriptorType != VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC && in generateRandomLayout()
[all …]
DvktBindingShaderAccessTests.cpp402 …eUint32 arrayElement, deUint32 descriptorCount, vk::VkDescriptorType descriptorType, size_t offset… in createTemplateBinding() argument
409 descriptorType, in createTemplateBinding()
1135 vk::VkDescriptorType descriptorType,
1154 vk::VkDescriptorType descriptorType,
1164 vk::VkDescriptorType descriptorType,
1172 vk::VkDescriptorType descriptorType,
1178 vk::VkDescriptorType descriptorType,
1193 vk::VkDescriptorType descriptorType,
1206 vk::VkDescriptorType descriptorType,
1222 vk::VkDescriptorType descriptorType,
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp68 VkDescriptorType descriptorType; member
166 …const VkDeviceSize offsetAlignment = de::max((VkDeviceSize)16, m_params.descriptorType == VK… in init()
169 …const VkDescriptorType nonDynamicDescriptorType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_… in init()
314 …kDescriptorType descriptorType = binding >= m_params.numDynamicBindings ? nonDynamicDescri… in init() local
318 descriptorType, // VkDescriptorType descriptorType; in init()
359 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
384 poolBuilder.addType(m_params.descriptorType, m_params.numDynamicBindings); in init()
405 …t VkDescriptorType descriptorType = binding >= m_params.numDynamicBindings ? nonDynamicDescrip… in init() local
421 descriptorType, // VkDescriptorType descriptorType; in init()
669 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC ? "… in initPrograms()
[all …]
DvktPipelinePushDescriptorTests.cpp70 VkDescriptorType descriptorType; member
357 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
393 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
536 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
639 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms()
733 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
793 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
903 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
990 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms()
1133 …rams.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || m_params.descriptorType == VK_DESCRIPTOR_TYPE… in init()
[all …]
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp103 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in DescriptorSetLayoutDef()
104 binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in DescriptorSetLayoutDef()
108 } else if ((binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in DescriptorSetLayoutDef()
109 (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)) { in DescriptorSetLayoutDef()
169 if (index < bindings_.size()) return bindings_[index].descriptorType; in GetTypeFromIndex()
278 … } else if (binding.descriptorType != rh_ds_layout_def->GetTypeFromBinding(binding.binding)) { in IsCompatible()
281 … << string_VkDescriptorType(binding.descriptorType) << "' but binding " << binding.binding in IsCompatible()
305 auto type = bindings_[bi_itr->second].descriptorType; in IsNextBindingConsistent()
309 if ((type != bindings_[next_bi_itr->second].descriptorType) || in IsNextBindingConsistent()
416 if (!valid_type(binding_info.descriptorType)) { in ValidateCreateInfo()
[all …]
Dhash_vk_types.h33 if ((lhs.binding != rhs.binding) || (lhs.descriptorType != rhs.descriptorType) ||
53 hc << value.binding << value.descriptorType << value.descriptorCount << value.stageFlags;
Dobject_tracker_utils.cpp196 if ((desc->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) || in ValidateDescriptorWrite()
197 (desc->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER)) { in ValidateDescriptorWrite()
204 if ((desc->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in ValidateDescriptorWrite()
205 …(desc->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || (desc->descriptorType == VK_DESCRIPT… in ValidateDescriptorWrite()
206 (desc->descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in ValidateDescriptorWrite()
213 if ((desc->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in ValidateDescriptorWrite()
214 (desc->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in ValidateDescriptorWrite()
215 (desc->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) || in ValidateDescriptorWrite()
216 (desc->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in ValidateDescriptorWrite()
529 const bool is_sampler_type = binding.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in PreCallValidateCreateDescriptorSetLayout()
[all …]
Dparameter_validation_utils.cpp1870 if (((pCreateInfo->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in manual_PreCallValidateCreateDescriptorSetLayout()
1871 … (pCreateInfo->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) && in manual_PreCallValidateCreateDescriptorSetLayout()
1932 if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in manual_PreCallValidateUpdateDescriptorSets()
1933 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in manual_PreCallValidateUpdateDescriptorSets()
1934 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || in manual_PreCallValidateUpdateDescriptorSets()
1935 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) || in manual_PreCallValidateUpdateDescriptorSets()
1936 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in manual_PreCallValidateUpdateDescriptorSets()
1948 } else if (pDescriptorWrites[i].descriptorType != VK_DESCRIPTOR_TYPE_SAMPLER) { in manual_PreCallValidateUpdateDescriptorSets()
1965 } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
1966 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
[all …]
/external/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp23 return (((binding.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in UsesImmutableSamplers()
24 (binding.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) && in UsesImmutableSamplers()
115 size += bindings[i].descriptorCount * GetDescriptorSize(bindings[i].descriptorType); in getSize()
/external/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c110 set_layout->binding[b].type = binding->descriptorType; in anv_CreateDescriptorSetLayout()
116 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
128 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
152 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
162 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
725 switch (write->descriptorType) { in anv_UpdateDescriptorSets()
734 write->descriptorType, in anv_UpdateDescriptorSets()
747 write->descriptorType, in anv_UpdateDescriptorSets()
766 write->descriptorType, in anv_UpdateDescriptorSets()
907 .type = pEntry->descriptorType, in anv_CreateDescriptorUpdateTemplateKHR()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c149 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itob_state()
156 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_itob_state()
372 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_btoi_state()
379 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_btoi_state()
586 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itoi_state()
593 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_itoi_state()
782 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_cleari_state()
990 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in itob_bind_descriptors()
1004 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in itob_bind_descriptors()
1067 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in btoi_bind_descriptors()
[all …]
Dradv_meta_buffer.c140 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state()
162 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state()
169 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state()
321 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in fill_buffer_shader()
380 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in copy_buffer_shader()
392 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in copy_buffer_shader()
Dradv_descriptor_set.c84 switch (binding->descriptorType) { in radv_CreateDescriptorSetLayout()
127 set_layout->binding[b].type = binding->descriptorType; in radv_CreateDescriptorSetLayout()
147 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) in radv_CreateDescriptorSetLayout()
149 else if (binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) in radv_CreateDescriptorSetLayout()
709 switch(writeset->descriptorType) { in radv_update_descriptor_sets()
733 writeset->descriptorType, in radv_update_descriptor_sets()
738 writeset->descriptorType, in radv_update_descriptor_sets()
862 switch (entry->descriptorType) { in radv_CreateDescriptorUpdateTemplateKHR()
870 switch (entry->descriptorType) { in radv_CreateDescriptorUpdateTemplateKHR()
888 .descriptor_type = entry->descriptorType, in radv_CreateDescriptorUpdateTemplateKHR()
Dradv_meta_resolve_cs.c163 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in create_layout()
170 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in create_layout()
332 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in emit_resolve()
345 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in emit_resolve()
Dradv_meta_fast_clear.c118 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in create_dcc_compress_compute()
125 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in create_dcc_compress_compute()
741 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_decompress_dcc_compute()
755 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_decompress_dcc_compute()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp477 vk::VkDescriptorType descriptorType,
480 vk::VkDescriptorType descriptorType,
671 …Instance::addUniform (deUint32 bindingLocation, vk::VkDescriptorType descriptorType, const T& data) in addUniform() argument
673 addUniform(bindingLocation, descriptorType, sizeof(T), &data); in addUniform()
/external/skqp/src/gpu/vk/
DGrVkDescriptorSetManager.cpp207 dsSamplerBindings[i].descriptorType = type; in DescriptorPoolManager()
247 dsUniBindings[i].descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in DescriptorPoolManager()
/external/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp211 dsSamplerBindings[i].descriptorType = type; in DescriptorPoolManager()
255 dsUniBindings[i].descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in DescriptorPoolManager()

123