Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/framework/vulkan/
DvkBuilderUtil.hpp39 DescriptorSetLayoutBuilder& addBinding (VkDescriptorType descriptorType,
48 inline DescriptorSetLayoutBuilder& addSingleBinding (VkDescriptorType descriptorType, in addSingleBinding() argument
51 return addBinding(descriptorType, 1u, stageFlags, (VkSampler*)DE_NULL); in addSingleBinding()
53 inline DescriptorSetLayoutBuilder& addArrayBinding (VkDescriptorType descriptorType, in addArrayBinding() argument
57 return addBinding(descriptorType, descriptorCount, stageFlags, (VkSampler*)DE_NULL); in addArrayBinding()
59 inline DescriptorSetLayoutBuilder& addSingleSamplerBinding (VkDescriptorType descriptorType, in addSingleSamplerBinding() argument
65 return addBinding(descriptorType, 1u, stageFlags, immutableSampler); in addSingleSamplerBinding()
67 inline DescriptorSetLayoutBuilder& addArraySamplerBinding (VkDescriptorType descriptorType, in addArraySamplerBinding() argument
72 return addBinding(descriptorType, descriptorCount, stageFlags, pImmutableSamplers); in addArraySamplerBinding()
142 VkDescriptorType descriptorType,
[all …]
DvkBuilderUtil.cpp37 DescriptorSetLayoutBuilder& DescriptorSetLayoutBuilder::addBinding (VkDescriptorType descriptorType, in addBinding() argument
60 descriptorType, // descriptorType in addBinding()
158 VkDescriptorType descriptorType, in write() argument
172 descriptorType, //!< descriptorType in write()
DvkTypeUtil.inl225 …g makeDescriptorSetLayoutBinding (deUint32 binding, VkDescriptorType descriptorType, deUint32 desc… argument
229 res.descriptorType = descriptorType;
395 …deUint32 dstArrayElement, deUint32 descriptorCount, VkDescriptorType descriptorType, deUintptr off… argument
401 res.descriptorType = descriptorType;
DvkStructTypes.inl844 VkDescriptorType descriptorType; member
906 VkDescriptorType descriptorType; member
1480 VkDescriptorType descriptorType; member
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorPoolTests.cpp182 for (VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in outOfPoolMemoryTest() local
183 descriptorType < VK_DESCRIPTOR_TYPE_LAST; in outOfPoolMemoryTest()
184 descriptorType = static_cast<VkDescriptorType>(descriptorType + 1)) in outOfPoolMemoryTest()
186 …).getLog() << tcu::TestLog::Message << "- " << getDescriptorTypeName(descriptorType) << tcu::TestL… in outOfPoolMemoryTest()
190 descriptorType, // type in outOfPoolMemoryTest()
209 descriptorType, // VkDescriptorType descriptorType; in outOfPoolMemoryTest()
DvktApiObjectManagementTests.cpp1245 VkDescriptorType descriptorType; member
1256 , descriptorType (descriptorType_) in Binding()
1277 VkDescriptorType descriptorType, in single()
1283 …bindings.push_back(Binding(binding, descriptorType, descriptorCount, stageFlags, useImmutableSampl… in single()
1313 cur->descriptorType, in Resources()
1936 DE_ASSERT((deUint32)cur->descriptorType < VK_DESCRIPTOR_TYPE_LAST); in computePoolSizes()
1937 countByType[cur->descriptorType] += cur->descriptorCount * maxSets; in computePoolSizes()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp394 …eUint32 arrayElement, deUint32 descriptorCount, vk::VkDescriptorType descriptorType, size_t offset… in createTemplateBinding() argument
401 descriptorType, in createTemplateBinding()
1259 vk::VkDescriptorType descriptorType,
1269 vk::VkDescriptorType descriptorType,
1276 vk::VkDescriptorType descriptorType,
1281 vk::VkDescriptorType descriptorType,
1291 vk::VkDescriptorType descriptorType,
1310 vk::VkDescriptorType descriptorType,
1324 vk::VkDescriptorType descriptorType,
1387 vk::VkDescriptorType descriptorType, in BufferRenderInstance() argument
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c109 set_layout->binding[b].type = binding->descriptorType; in anv_CreateDescriptorSetLayout()
115 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
127 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
151 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
161 switch (binding->descriptorType) { in anv_CreateDescriptorSetLayout()
585 assert(write->descriptorType == bind_layout->type); in anv_UpdateDescriptorSets()
587 switch (write->descriptorType) { in anv_UpdateDescriptorSets()
626 .type = write->descriptorType, in anv_UpdateDescriptorSets()
639 .type = write->descriptorType, in anv_UpdateDescriptorSets()
659 anv_isl_format_for_descriptor_type(write->descriptorType); in anv_UpdateDescriptorSets()
[all …]
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp41 ((p_create_info->pBindings[i].descriptorType != VK_DESCRIPTOR_TYPE_SAMPLER) && in DescriptorSetLayout()
42 … (p_create_info->pBindings[i].descriptorType != VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER))) { in DescriptorSetLayout()
45 … if (p_create_info->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in DescriptorSetLayout()
46 … p_create_info->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in DescriptorSetLayout()
106 return bindings_[bi_itr->second].descriptorType; in GetTypeFromBinding()
113 return bindings_[index].descriptorType; in GetTypeFromIndex()
122 return binding.descriptorType; in GetTypeFromGlobalIndex()
198 } else if (binding.descriptorType != rh_ds_layout->GetTypeFromBinding(binding.binding)) { in IsCompatible()
201 … << string_VkDescriptorType(binding.descriptorType) << "' but binding " << binding.binding in IsCompatible()
226 auto type = bindings_[bi_itr->second].descriptorType; in IsNextBindingConsistent()
[all …]
Dparameter_validation.cpp3395 if (((pCreateInfo->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in CreateDescriptorSetLayout()
3396 … (pCreateInfo->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) && in CreateDescriptorSetLayout()
3566 if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in UpdateDescriptorSets()
3567 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in UpdateDescriptorSets()
3568 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || in UpdateDescriptorSets()
3569 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) || in UpdateDescriptorSets()
3570 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in UpdateDescriptorSets()
3582 } else if (pDescriptorWrites[i].descriptorType != VK_DESCRIPTOR_TYPE_SAMPLER) { in UpdateDescriptorSets()
3599 } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in UpdateDescriptorSets()
3600 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in UpdateDescriptorSets()
[all …]
Dobject_tracker.cpp1460 … if ((pCreateInfo->pBindings[idx0].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in CreateDescriptorSetLayout()
1461 … (pCreateInfo->pBindings[idx0].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) { in CreateDescriptorSetLayout()
1579 … if ((pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) || in UpdateDescriptorSets()
1580 … (pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER)) { in UpdateDescriptorSets()
1586 … if ((pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in UpdateDescriptorSets()
1587 (pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || in UpdateDescriptorSets()
1588 (pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) || in UpdateDescriptorSets()
1589 … (pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in UpdateDescriptorSets()
1597 if ((pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in UpdateDescriptorSets()
1598 (pDescriptorWrites[idx1].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in UpdateDescriptorSets()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c140 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itob_state()
147 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_itob_state()
335 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_btoi_state()
342 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_btoi_state()
524 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itoi_state()
531 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_itoi_state()
677 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_cleari_state()
909 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in itob_bind_descriptors()
924 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in itob_bind_descriptors()
1005 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in btoi_bind_descriptors()
[all …]
Dradv_meta_buffer.c133 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state()
154 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state()
161 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state()
323 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in fill_buffer_shader()
391 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in copy_buffer_shader()
404 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in copy_buffer_shader()
Dradv_meta_resolve_cs.c186 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in create_layout()
193 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in create_layout()
405 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_meta_resolve_compute_image()
420 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_meta_resolve_compute_image()
Dradv_descriptor_set.c80 switch (binding->descriptorType) { in radv_CreateDescriptorSetLayout()
122 set_layout->binding[b].type = binding->descriptorType; in radv_CreateDescriptorSetLayout()
674 switch(writeset->descriptorType) { in radv_UpdateDescriptorSets()
Dradv_meta_blit2d.c138 .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, in blit2d_bind_src()
164 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in blit2d_bind_src()
1213 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_blit2d_state()
1240 .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, in radv_device_init_meta_blit2d_state()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp461 vk::VkDescriptorType descriptorType,
464 vk::VkDescriptorType descriptorType,
670 …Instance::addUniform (deUint32 bindingLocation, vk::VkDescriptorType descriptorType, const T& data) in addUniform() argument
672 addUniform(bindingLocation, descriptorType, sizeof(T), &data); in addUniform()
/external/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp182 dsSamplerBindings[i].descriptorType = type; in DescriptorPoolManager()
216 dsUniBindings[i].descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in DescriptorPoolManager()
DGrVkPipelineState.cpp332 descriptorWrite->descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in set_uniform_descriptor_writes()
408 writeInfo.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in writeSamplers()
450 writeInfo.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in writeTexelBuffers()
DGrVkCopyManager.cpp249 descriptorWrites.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in copySurfaceAsDraw()
282 writeInfo.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in copySurfaceAsDraw()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp2076 dsl_binding.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
2153 dsl_binding.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
3537 dsl_binding.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
3596 dsl_binding.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
3654 layout_bindings[0].descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
3743 layout_binding[0].descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
3749 layout_binding[1].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
3778 layout_binding[2].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
3815 descriptor_write.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
3849 descriptor_write.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
[all …]
Dvktestbinding.h780 write.descriptorType = type; in write_descriptor_set()
794 write.descriptorType = type; in write_descriptor_set()
807 write.descriptorType = type; in write_descriptor_set()
Dvkrenderframework.cpp413 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in AppendDummy()
429 binding.descriptorType = type; in AppendBuffer()
446 binding.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in AppendSamplerTexture()
513 if (it->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) in CreateVKDescriptorSet()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp222 void checkSupported (const VkDescriptorType descriptorType);
250 void OpaqueTypeIndexingTestInstance::checkSupported (const VkDescriptorType descriptorType) in checkSupported() argument
256 switch (descriptorType) in checkSupported()
1285 …const VkDescriptorType descriptorType = m_blockType == BLOCKTYPE_UNIFORM ? VK_DESCRIPTOR_TYPE_UN… in iterate() local
1299 checkSupported(descriptorType); in iterate()
1320 { 0u, descriptorType, (deUint32)m_inValues.size(), VK_SHADER_STAGE_ALL, DE_NULL }, in iterate()
1338 { descriptorType, (deUint32)m_inValues.size() }, in iterate()
1377 descriptorType, in iterate()
/external/python/cpython2/Mac/Modules/ae/
D_AEmodule.c830 return PyMac_BuildOSType(self->ob_itself.descriptorType); in AEDesc_get_type()
1406 requestObject->ob_itself.descriptorType = 'null'; in GenericEventHandler()
1408 replyObject->ob_itself.descriptorType = 'null'; in GenericEventHandler()

12