Home
last modified time | relevance | path

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

12345678

/third_party/vk-gl-cts/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
215 descriptorType, //!< descriptorType in write()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp33 return (((binding.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in UsesImmutableSamplers()
34 (binding.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) && in UsesImmutableSamplers()
55 bindings[i].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in DescriptorSetLayout()
65 dstBinding.descriptorType = srcBinding.descriptorType; in DescriptorSetLayout()
85 offset += bindings[i].descriptorCount * GetDescriptorSize(bindings[i].descriptorType); in DescriptorSetLayout()
155 size += bindings[i].descriptorCount * GetDescriptorSize(bindings[i].descriptorType); in getDescriptorSetDataSize()
171 size_t descriptorSize = GetDescriptorSize(bindings[i].descriptorType); in initialize()
185 switch(bindings[i].descriptorType) in initialize()
215 UNSUPPORTED("Unsupported Descriptor Type: %d", int(bindings[i].descriptorType)); in initialize()
238 if(IsDescriptorDynamic(bindings[i].descriptorType)) in getDynamicDescriptorCount()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessExtsTests.cpp243 int/*VkDescriptorType*/ descriptorType; member
262 switch (descriptorType) in needsScalarBlockLayout()
456 static bool supportsStores(int descriptorType) in supportsStores() argument
458 switch (descriptorType) in supportsStores()
471 …c VkPipelineRobustnessCreateInfoEXT getPipelineRobustnessInfo(bool robustness2, int descriptorType) in getPipelineRobustnessInfo() argument
475 switch (descriptorType) in getPipelineRobustnessInfo()
568 switch (m_data.descriptorType) in checkSupport()
613 switch (m_data.descriptorType) in checkSupport()
657 if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) && in checkSupport()
666 …if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER || m_data.descriptorType == … in checkSupport()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessExtsTests.cpp243 int/*VkDescriptorType*/ descriptorType; member
262 switch (descriptorType) in needsScalarBlockLayout()
456 static bool supportsStores(int descriptorType) in supportsStores() argument
458 switch (descriptorType) in supportsStores()
471 …c VkPipelineRobustnessCreateInfoEXT getPipelineRobustnessInfo(bool robustness2, int descriptorType) in getPipelineRobustnessInfo() argument
475 switch (descriptorType) in getPipelineRobustnessInfo()
568 switch (m_data.descriptorType) in checkSupport()
613 switch (m_data.descriptorType) in checkSupport()
657 if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) && in checkSupport()
666 …if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER || m_data.descriptorType == … in checkSupport()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp90 bool isValidTestCase (TestType testType, DescriptorType descriptorType, ReadOp readOp) in isValidTestCase() argument
96 if (descriptorType != DESCRIPTOR_TYPE_STORAGE_IMAGE && in isValidTestCase()
97 descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
98 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
99 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase()
104 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
105 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
106 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase()
111 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
112 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp90 bool isValidTestCase (TestType testType, DescriptorType descriptorType, ReadOp readOp) in isValidTestCase() argument
96 if (descriptorType != DESCRIPTOR_TYPE_STORAGE_IMAGE && in isValidTestCase()
97 descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
98 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
99 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase()
104 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
105 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
106 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase()
111 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase()
112 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp398 …eUint32 arrayElement, deUint32 descriptorCount, vk::VkDescriptorType descriptorType, size_t offset… in createTemplateBinding() argument
405 descriptorType, in createTemplateBinding()
1148 vk::VkDescriptorType descriptorType,
1167 vk::VkDescriptorType descriptorType,
1177 vk::VkDescriptorType descriptorType,
1185 vk::VkDescriptorType descriptorType,
1191 vk::VkDescriptorType descriptorType,
1206 vk::VkDescriptorType descriptorType,
1221 vk::VkDescriptorType descriptorType,
1238 vk::VkDescriptorType descriptorType,
[all …]
DvktBindingDescriptorSetRandomTests.cpp567 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
579 binding.descriptorType = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR; in generateRandomLayout()
616 binding.descriptorType = intToType[r]; in generateRandomLayout()
617 switch (binding.descriptorType) in generateRandomLayout()
635 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
645 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
655 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
682 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
689 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
714 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
[all …]
DvktBindingDescriptorBufferTests.cpp426 VkDescriptorType descriptorType; member in vkt::BindingModel::__anond12ba5b30111::Binding
449 , descriptorType(VK_DESCRIPTOR_TYPE_SAMPLER) in Binding()
475 dslBinding.descriptorType = binding.descriptorType; in getDescriptorSetLayoutBindings()
2245 VkDescriptorType descriptorType,
2250 VkDescriptorType descriptorType) const;
2328 DE_ASSERT(binding->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER); in getResultBuffer()
2735 switch (binding.descriptorType) { in getDescriptorSize()
2877 if (binding.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) in createDescriptorBuffers()
2881 else if (binding.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) in createDescriptorBuffers()
3327 if (binding.descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) in createGraphicsPipeline()
[all …]
DvktBindingValveMutableTests.cpp160 DescriptorTypeFlagBits toDescriptorTypeFlagBit (VkDescriptorType descriptorType) in toDescriptorTypeFlagBit() argument
162 switch (descriptorType) in toDescriptorTypeFlagBit()
290 ResourceType toResourceType (VkDescriptorType descriptorType) in toResourceType() argument
293 switch (descriptorType) in toResourceType()
331 bool isShaderWritable (VkDescriptorType descriptorType) in isShaderWritable() argument
333 …return (descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || descriptorType == VK_DESCRIPTOR_TYP… in isShaderWritable()
334 descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER); in isShaderWritable()
513 VkDescriptorType descriptorType; member
524 : descriptorType (descriptorType_) in Resource()
525 , resourceType (toResourceType(descriptorType)) in Resource()
[all …]
DvktBindingMutableTests.cpp235 DescriptorTypeFlagBits toDescriptorTypeFlagBit (VkDescriptorType descriptorType) in toDescriptorTypeFlagBit() argument
237 switch (descriptorType) in toDescriptorTypeFlagBit()
365 ResourceType toResourceType (VkDescriptorType descriptorType) in toResourceType() argument
368 switch (descriptorType) in toResourceType()
406 bool isShaderWritable (VkDescriptorType descriptorType) in isShaderWritable() argument
408 …return (descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || descriptorType == VK_DESCRIPTOR_TYP… in isShaderWritable()
409 descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER); in isShaderWritable()
588 VkDescriptorType descriptorType; member
599 : descriptorType (descriptorType_) in Resource()
600 , resourceType (toResourceType(descriptorType)) in Resource()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp398 …eUint32 arrayElement, deUint32 descriptorCount, vk::VkDescriptorType descriptorType, size_t offset… in createTemplateBinding() argument
405 descriptorType, in createTemplateBinding()
1148 vk::VkDescriptorType descriptorType,
1167 vk::VkDescriptorType descriptorType,
1177 vk::VkDescriptorType descriptorType,
1185 vk::VkDescriptorType descriptorType,
1191 vk::VkDescriptorType descriptorType,
1206 vk::VkDescriptorType descriptorType,
1221 vk::VkDescriptorType descriptorType,
1238 vk::VkDescriptorType descriptorType,
[all …]
DvktBindingDescriptorSetRandomTests.cpp567 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
579 binding.descriptorType = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR; in generateRandomLayout()
616 binding.descriptorType = intToType[r]; in generateRandomLayout()
617 switch (binding.descriptorType) in generateRandomLayout()
635 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
645 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
655 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
682 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
689 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout()
714 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout()
[all …]
DvktBindingDescriptorBufferTests.cpp426 VkDescriptorType descriptorType; member in vkt::BindingModel::__anon8244b4330111::Binding
449 , descriptorType(VK_DESCRIPTOR_TYPE_SAMPLER) in Binding()
475 dslBinding.descriptorType = binding.descriptorType; in getDescriptorSetLayoutBindings()
2245 VkDescriptorType descriptorType,
2250 VkDescriptorType descriptorType) const;
2328 DE_ASSERT(binding->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER); in getResultBuffer()
2735 switch (binding.descriptorType) { in getDescriptorSize()
2877 if (binding.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) in createDescriptorBuffers()
2881 else if (binding.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) in createDescriptorBuffers()
3327 if (binding.descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) in createGraphicsPipeline()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorPoolTests.cpp213 for (VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in outOfPoolMemoryTest() local
214 descriptorType < VK_DESCRIPTOR_TYPE_LAST; in outOfPoolMemoryTest()
215 descriptorType = static_cast<VkDescriptorType>(descriptorType + 1)) in outOfPoolMemoryTest()
217 …).getLog() << tcu::TestLog::Message << "- " << getDescriptorTypeName(descriptorType) << tcu::TestL… in outOfPoolMemoryTest()
221 descriptorType, // type in outOfPoolMemoryTest()
237 …VkShaderStageFlags stageFlags = (descriptorType != VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) ? VK_SHADE… in outOfPoolMemoryTest()
241 descriptorType, // VkDescriptorType descriptorType; in outOfPoolMemoryTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiDescriptorPoolTests.cpp213 for (VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in outOfPoolMemoryTest() local
214 descriptorType < VK_DESCRIPTOR_TYPE_LAST; in outOfPoolMemoryTest()
215 descriptorType = static_cast<VkDescriptorType>(descriptorType + 1)) in outOfPoolMemoryTest()
217 …).getLog() << tcu::TestLog::Message << "- " << getDescriptorTypeName(descriptorType) << tcu::TestL… in outOfPoolMemoryTest()
221 descriptorType, // type in outOfPoolMemoryTest()
237 …VkShaderStageFlags stageFlags = (descriptorType != VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) ? VK_SHADE… in outOfPoolMemoryTest()
241 descriptorType, // VkDescriptorType descriptorType; in outOfPoolMemoryTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp124 VkDescriptorType descriptorType; // used only to distinguish test class instance member
138 VkDescriptorType descriptorType; member
161 , descriptorType (descriptorType_) in TestParams()
231 deUint32 computeAvailableDescriptorCount (VkDescriptorType descriptorType,
274 static bool performWritesInVertex (VkDescriptorType descriptorType);
276 static bool performWritesInVertex (VkDescriptorType descriptorType,
287 static std::string getColorAccess (VkDescriptorType descriptorType,
489 descriptorPool = DescriptorPoolBuilder().addType(binding.descriptorType) in init()
546 …32 CommonDescriptorInstance::computeAvailableDescriptorCount (VkDescriptorType descriptorType, in computeAvailableDescriptorCount() argument
549 DE_UNREF(descriptorType); in computeAvailableDescriptorCount()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp124 VkDescriptorType descriptorType; // used only to distinguish test class instance member
138 VkDescriptorType descriptorType; member
161 , descriptorType (descriptorType_) in TestParams()
231 deUint32 computeAvailableDescriptorCount (VkDescriptorType descriptorType,
274 static bool performWritesInVertex (VkDescriptorType descriptorType);
276 static bool performWritesInVertex (VkDescriptorType descriptorType,
287 static std::string getColorAccess (VkDescriptorType descriptorType,
489 descriptorPool = DescriptorPoolBuilder().addType(binding.descriptorType) in init()
546 …32 CommonDescriptorInstance::computeAvailableDescriptorCount (VkDescriptorType descriptorType, in computeAvailableDescriptorCount() argument
549 DE_UNREF(descriptorType); in computeAvailableDescriptorCount()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c54 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in lvp_CreateDescriptorSetLayout()
94 set_layout->binding[b].type = binding->descriptorType; in lvp_CreateDescriptorSetLayout()
96 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) in lvp_CreateDescriptorSetLayout()
110 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in lvp_CreateDescriptorSetLayout()
111 binding->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in lvp_CreateDescriptorSetLayout()
115 switch (binding->descriptorType) { in lvp_CreateDescriptorSetLayout()
135 switch (binding->descriptorType) { in lvp_CreateDescriptorSetLayout()
421 if (write->descriptorType == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) { in lvp_UpdateDescriptorSets()
431 switch (write->descriptorType) { in lvp_UpdateDescriptorSets()
474 .type = write->descriptorType, in lvp_UpdateDescriptorSets()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp74 VkDescriptorType descriptorType; member
381 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
421 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
565 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
675 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms()
771 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
831 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
941 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
1031 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms()
1176 …rams.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || m_params.descriptorType == VK_DESCRIPTOR_TYPE… in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp74 VkDescriptorType descriptorType; member
381 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
421 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
565 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
675 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms()
771 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
831 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
941 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
1031 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms()
1176 …rams.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || m_params.descriptorType == VK_DESCRIPTOR_TYPE… in init()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Ddescriptorsets.txt489 elements of pname:pBindings must: not have a pname:descriptorType of
496 elements of pname:pBindings must: not have a pname:descriptorType of
513 pname:pBindings must: not have a pname:descriptorType of
522 * [[VUID-VkDescriptorSetLayoutCreateInfo-descriptorType-03001]]
524 bit set, then all bindings must: not have pname:descriptorType of
536 * [[VUID-VkDescriptorSetLayoutCreateInfo-descriptorType-04593]]
537 If any binding has a pname:descriptorType of
541 * [[VUID-VkDescriptorSetLayoutCreateInfo-descriptorType-04594]]
542 If a binding has a pname:descriptorType value of
548 is not enabled, pname:pBindings must: not contain a pname:descriptorType
[all …]
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_descriptor_set.c479 const VkDescriptorType descriptor_type = bindings[i].descriptorType; in pvr_CreateDescriptorSetLayout()
513 internal_binding->type = binding->descriptorType; in pvr_CreateDescriptorSetLayout()
534 switch (binding->descriptorType) { in pvr_CreateDescriptorSetLayout()
583 const VkDescriptorType descriptor_type = binding->descriptorType; in pvr_CreateDescriptorSetLayout()
1353 set->descriptors[desc_idx].type = write_set->descriptorType; in pvr_descriptor_update_buffer_info()
1410 set->descriptors[desc_idx].type = write_set->descriptorType; in pvr_descriptor_update_sampler()
1440 VkDescriptorType descriptorType, in pvr_write_image_descriptor_primaries() argument
1445 if (descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE && in pvr_write_image_descriptor_primaries()
1450 } else if (descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) { in pvr_write_image_descriptor_primaries()
1458 if (descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE && in pvr_write_image_descriptor_primaries()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c169 binding->type = binding_info->descriptorType; in vn_descriptor_set_layout_init()
172 switch (binding_info->descriptorType) { in vn_descriptor_set_layout_init()
218 switch (binding->descriptorType) { in vn_CreateDescriptorSetLayout()
670 switch (write->descriptorType) { in vn_update_descriptor_sets_parse_writes()
705 switch (write->descriptorType) { in vn_update_descriptor_sets_parse_writes()
716 switch (write->descriptorType) { in vn_update_descriptor_sets_parse_writes()
805 switch (entry->descriptorType) { in vn_update_descriptor_sets_parse_template()
852 write->descriptorType = entry->descriptorType; in vn_update_descriptor_sets_parse_template()
857 switch (entry->descriptorType) { in vn_update_descriptor_sets_parse_template()
996 switch (write->descriptorType) { in vn_UpdateDescriptorSetWithTemplate()
[all …]

12345678