/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | node_context_descriptor_set_manager_gles.cpp | 68 if (IsDynamicDescriptor(refBinding.descriptorType)) { in CreateDescriptorSet() 73 if (refBinding.descriptorType == CORE_DESCRIPTOR_TYPE_SAMPLER) { in CreateDescriptorSet() 75 } else if (((refBinding.descriptorType >= CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in CreateDescriptorSet() 76 (refBinding.descriptorType <= CORE_DESCRIPTOR_TYPE_STORAGE_IMAGE)) || in CreateDescriptorSet() 77 (refBinding.descriptorType == CORE_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in CreateDescriptorSet() 79 } else if (((refBinding.descriptorType >= CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER) && in CreateDescriptorSet() 80 (refBinding.descriptorType <= CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) || in CreateDescriptorSet() 81 (refBinding.descriptorType == CORE_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE)) { in CreateDescriptorSet() 118 if (IsDynamicDescriptor(refBinding.descriptorType)) { in CreateOneFrameDescriptorSet() 123 if (refBinding.descriptorType in CreateOneFrameDescriptorSet() [all...] |
H A D | render_backend_gles.cpp | 62 DescriptorType descriptorType { CORE_DESCRIPTOR_TYPE_MAX_ENUM }; 87 constexpr RenderHandleType GetRenderHandleType(const DescriptorType descriptorType) in GetRenderHandleType() argument 89 if (descriptorType == CORE_DESCRIPTOR_TYPE_SAMPLER) { in GetRenderHandleType() 91 } else if (((descriptorType >= CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in GetRenderHandleType() 92 (descriptorType <= CORE_DESCRIPTOR_TYPE_STORAGE_IMAGE)) || in GetRenderHandleType() 93 (descriptorType == CORE_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in GetRenderHandleType() 95 } else if ((descriptorType >= CORE_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) && in GetRenderHandleType() 96 (descriptorType <= CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in GetRenderHandleType() 1032 if ((o.resources.size() != b.descriptorCount) || (o.descriptorType != b.descriptorType)) { in SetupCache() [all...] |
H A D | shader_module_gles.cpp | 59 switch (binding.descriptorType) { in CollectRes()
|
H A D | gpu_program_gles.cpp | 408 tmp.type = b.descriptorType; 412 switch (b.descriptorType) { 470 if (b.descriptorType == CORE_DESCRIPTOR_TYPE_SAMPLER) {
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | node_context_descriptor_set_manager.cpp | 37 void ReduceAndValidateDescriptorCounts(const DescriptorType descriptorType, const uint32_t descriptorCount, in ReduceAndValidateDescriptorCounts() argument 40 auto& valRef = countValidation.typeToCount[static_cast<uint32_t>(descriptorType)]; in ReduceAndValidateDescriptorCounts() 44 if (descriptorType == CORE_DESCRIPTOR_TYPE_SAMPLER) { in ReduceAndValidateDescriptorCounts() 46 } else if (descriptorType == CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in ReduceAndValidateDescriptorCounts() 48 } else if (descriptorType == CORE_DESCRIPTOR_TYPE_SAMPLED_IMAGE) { in ReduceAndValidateDescriptorCounts() 50 } else if (descriptorType == CORE_DESCRIPTOR_TYPE_STORAGE_IMAGE) { in ReduceAndValidateDescriptorCounts() 52 } else if (descriptorType == CORE_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) { in ReduceAndValidateDescriptorCounts() 54 } else if (descriptorType == CORE_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER) { in ReduceAndValidateDescriptorCounts() 56 } else if (descriptorType == CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER) { in ReduceAndValidateDescriptorCounts() 58 } else if (descriptorType in ReduceAndValidateDescriptorCounts() [all...] |
H A D | pipeline_descriptor_set_binder.cpp | 96 const RenderHandleType type = DescriptorSetBinderUtil::GetRenderHandleType(binding.descriptorType); in Init() 149 const AccessFlags accessFlags = DescriptorSetBinderUtil::GetAccessFlags(currBinding.binding.descriptorType); in InitFillBindings() 156 const RenderHandleType type = DescriptorSetBinderUtil::GetRenderHandleType(currBinding.binding.descriptorType); in InitFillBindings() 260 const DescriptorType descriptorType = bind.binding.descriptorType; in BindBuffer() local 261 if (CheckValidBufferDescriptor(descriptorType)) { in BindBuffer() 266 PLUGIN_LOG_E("invalid binding for buffer descriptor (binding: %u, descriptorType: %u)", binding, in BindBuffer() 267 (uint32_t)descriptorType); in BindBuffer() 299 if ((index < INVALID_BIDX) && CheckValidBufferDescriptor(bindings_[index].binding.descriptorType)) { in BindBuffers() 350 const DescriptorType descriptorType in BindImage() local 459 const DescriptorType descriptorType = bind.binding.descriptorType; BindSampler() local [all...] |
H A D | render_command_list.cpp | 71 if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) { in ValidateDescriptorTypeBinding() 74 } else if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER) { in ValidateDescriptorTypeBinding() 77 } else if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER) { in ValidateDescriptorTypeBinding() 80 } else if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER) { in ValidateDescriptorTypeBinding() 83 } else if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) { in ValidateDescriptorTypeBinding() 86 } else if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in ValidateDescriptorTypeBinding() 89 } else if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE) { in ValidateDescriptorTypeBinding() 91 PLUGIN_LOG_E("RENDER_VALIDATION: unsupported buffer descriptor type: %u", ref.binding.descriptorType); in ValidateDescriptorTypeBinding() 95 if ((ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in ValidateDescriptorTypeBinding() 96 (ref.binding.descriptorType in ValidateDescriptorTypeBinding() [all...] |
H A D | render_node_util.cpp | 251 dc.counts.push_back(DescriptorCounts::TypedCount { bindingRef.descriptorType, bindingRef.descriptorCount }); in GetDescriptorCounts() 261 dc.counts.push_back(DescriptorCounts::TypedCount { bindingRef.descriptorType, bindingRef.descriptorCount }); in GetDescriptorCounts()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_descriptor_set_manager_vk.cpp | 262 const uint32_t descTypeIndex = static_cast<uint32_t>(bindingRef.binding.descriptorType); in BeginBackendFrame() 264 if ((bindingRef.binding.descriptorType == in BeginBackendFrame() 325 const uint32_t descTypeIndex = static_cast<uint32_t>(bindingRef.binding.descriptorType); in BeginBackendFrame() 327 if ((bindingRef.binding.descriptorType == in BeginBackendFrame() 364 if (NodeContextDescriptorSetManager::IsDynamicDescriptor(refBinding.descriptorType)) { in IncreaseDescriptorSetCounts() 368 if (refBinding.descriptorType == CORE_DESCRIPTOR_TYPE_SAMPLER) { in IncreaseDescriptorSetCounts() 370 } else if (((refBinding.descriptorType >= CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in IncreaseDescriptorSetCounts() 371 (refBinding.descriptorType <= CORE_DESCRIPTOR_TYPE_STORAGE_IMAGE)) || in IncreaseDescriptorSetCounts() 372 (refBinding.descriptorType == CORE_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in IncreaseDescriptorSetCounts() 374 } else if (((refBinding.descriptorType > in IncreaseDescriptorSetCounts() 501 const VkDescriptorType descriptorType = (VkDescriptorType)cpuBinding.binding.descriptorType; CreateGpuDescriptorSet() local [all...] |
H A D | pipeline_state_object_vk.cpp | 132 const VkDescriptorType descriptorType = (VkDescriptorType)bindingRef.descriptorType; in GetDescriptorSetFillData() local 138 descriptorType, // descriptorType in GetDescriptorSetFillData()
|
H A D | render_backend_vk.cpp | 1952 if (ref.binding.descriptorType == CORE_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE) { 1976 (VkDescriptorType)ref.binding.descriptorType, // descriptorType 2011 (VkDescriptorType)ref.binding.descriptorType, // descriptorType 2025 const VkDescriptorType descriptorType = (VkDescriptorType)ref.binding.descriptorType; 2033 if (descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { 2068 descriptorType, // descriptorType [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_program_util.cpp | 55 if ((inBinding.descriptorType != outRef.descriptorType) || in AddBindings() 61 currBindingIndex, inBinding.descriptorType, outRef.descriptorType, inBinding.descriptorCount, in AddBindings()
|
H A D | shader_manager.cpp | 138 constexpr inline bool IsUniformBuffer(const DescriptorType descriptorType) in IsUniformBuffer() argument 140 return ((descriptorType == CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) || in IsUniformBuffer() 141 (descriptorType == CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER)); in IsUniformBuffer() 143 constexpr inline bool IsStorageBuffer(const DescriptorType descriptorType) in IsStorageBuffer() argument 145 return ((descriptorType == CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) || in IsStorageBuffer() 146 (descriptorType == CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in IsStorageBuffer() 163 (lBind.descriptorType != rBind.descriptorType)) { in GetPipelineLayoutCompatibilityFlags() 165 if ((IsUniformBuffer(lBind.descriptorType) != IsUniformBuffer(rBind.descriptorType)) in GetPipelineLayoutCompatibilityFlags() [all...] |
H A D | shader_pipeline_binder.cpp | 228 const RenderHandleType type = DescriptorSetBinderUtil::GetRenderHandleType(ref.binding.descriptorType); in ShaderPipelineBinder() 283 DescriptorSetBinderUtil::GetRenderHandleType(plSet.bindings[bindingRef.binding].descriptorType); in EvaluateCustomPropertyBindings()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | pipeline_layout_loader.cpp | 60 SafeGetJsonEnum(jsonData, "descriptorType", context.error, context.data.descriptorType); in FromJson() 114 if (bindingRef.descriptorType == DescriptorType::CORE_DESCRIPTOR_TYPE_MAX_ENUM) { in Load()
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | pipeline_layout_desc.h | 55 DescriptorType descriptorType { DescriptorType::CORE_DESCRIPTOR_TYPE_MAX_ENUM };
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 447 DescriptorType descriptorType { DescriptorType::MAX_ENUM };
618 binding.descriptorType = static_cast<DescriptorType>(*ptr | (*(ptr + 1) << 8));
in GetPipelineLayout() 992 binding.descriptorType = type;
1322 push(reflection, static_cast<uint16_t>(binding.descriptorType));
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_env.cpp | 278 if (descBindings[idx].descriptorType == in UpdateAndBindCustomSet()
|
H A D | render_node_default_material_deferred_shading.cpp | 444 dc.counts.push_back(DescriptorCounts::TypedCount { bindingRef.descriptorType, bindingRef.descriptorCount }); in CreateDescriptorSets()
|
H A D | render_node_default_material_render_slot.cpp | 522 if (descBindings[idx].descriptorType == in UpdateAndBindSet3()
|