/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | pipeline_layout_loader.cpp | 40 CORE_JSON_SERIALIZE_ENUM(DescriptorType, 42 { DescriptorType::CORE_DESCRIPTOR_TYPE_MAX_ENUM, nullptr }, // default 43 { DescriptorType::CORE_DESCRIPTOR_TYPE_SAMPLER, "sampler" }, 44 { DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, "combined_image_sampler" }, 45 { DescriptorType::CORE_DESCRIPTOR_TYPE_SAMPLED_IMAGE, "sampled_image" }, 46 { DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_IMAGE, "storage_image" }, 47 { DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER, "uniform_texel_buffer" }, 48 { DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER, "storage_texel_buffer" }, 49 { DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER, "uniform_buffer" }, 50 { DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER, "storage_buffer" }, [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | shader_module_gles.cpp | 60 case DescriptorType::CORE_DESCRIPTOR_TYPE_SAMPLER: in CollectRes() 63 case DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: in CollectRes() 66 case DescriptorType::CORE_DESCRIPTOR_TYPE_SAMPLED_IMAGE: in CollectRes() 69 case DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_IMAGE: in CollectRes() 72 case DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: in CollectRes() 74 case DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: in CollectRes() 76 case DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER: in CollectRes() 79 case DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER: in CollectRes() 82 case DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: in CollectRes() 86 case DescriptorType::CORE_DESCRIPTOR_TYPE_INPUT_ATTACHMENT: in CollectRes() [all …]
|
H A D | gpu_program_gles.h | 39 DescriptorType type;
|
H A D | render_backend_gles.cpp | 62 DescriptorType descriptorType { CORE_DESCRIPTOR_TYPE_MAX_ENUM }; 87 constexpr RenderHandleType GetRenderHandleType(const DescriptorType descriptorType) in GetRenderHandleType()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_parser_util.cpp | 54 CORE_JSON_SERIALIZE_ENUM(DescriptorType, 56 { DescriptorType::CORE_DESCRIPTOR_TYPE_MAX_ENUM, nullptr }, 57 { DescriptorType::CORE_DESCRIPTOR_TYPE_SAMPLER, "sampler" }, 58 { DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, "combined_image_sampler" }, 59 { DescriptorType::CORE_DESCRIPTOR_TYPE_SAMPLED_IMAGE, "sampled_image" }, 60 { DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_IMAGE, "storage_image" }, 61 { DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER, "uniform_texel_buffer" }, 62 { DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER, "storage_texel_buffer" }, 63 { DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER, "uniform_buffer" }, 64 { DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER, "storage_buffer" }, [all …]
|
H A D | node_context_descriptor_set_manager.h | 47 static constexpr inline bool IsDynamicDescriptor(const DescriptorType descType) in IsDynamicDescriptor() 49 return ((descType == DescriptorType::CORE_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) || in IsDynamicDescriptor() 50 (descType == DescriptorType::CORE_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)); in IsDynamicDescriptor()
|
H A D | pipeline_descriptor_set_binder.cpp | 35 constexpr ImageLayout GetImageLayout(const DescriptorType dt) in GetImageLayout() 47 inline constexpr bool CheckValidBufferDescriptor(const DescriptorType dt) in CheckValidBufferDescriptor() 53 inline constexpr bool CheckValidImageDescriptor(const DescriptorType dt) in CheckValidImageDescriptor() 260 const DescriptorType descriptorType = bind.binding.descriptorType; in BindBuffer() 350 const DescriptorType descriptorType = bind.binding.descriptorType; in BindImage() 459 const DescriptorType descriptorType = bind.binding.descriptorType; in BindSampler()
|
H A D | pipeline_descriptor_set_binder.h | 34 constexpr RenderHandleType GetRenderHandleType(const DescriptorType dt) in RENDER_BEGIN_NAMESPACE() 64 constexpr AccessFlags GetAccessFlags(const DescriptorType dt) in RENDER_BEGIN_NAMESPACE()
|
H A D | node_context_descriptor_set_manager.cpp | 37 void ReduceAndValidateDescriptorCounts(const DescriptorType descriptorType, const uint32_t descript… in ReduceAndValidateDescriptorCounts() 120 …if (dstRef.binding.descriptorType == DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in CopyAndProcessImages() 124 …if (dstRef.binding.descriptorType != DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in CopyAndProcessImages()
|
/ohos5.0/base/usb/usb_manager/services/native/src/ |
H A D | usb_descriptor_parser.cpp | 30 enum class DescriptorType { enum 157 case static_cast<uint8_t>(DescriptorType::DESCRIPTOR_TYPE_CONFIG): in ParseConfigDescriptors() 164 case static_cast<uint8_t>(DescriptorType::DESCRIPTOR_TYPE_INTERFACE): in ParseConfigDescriptors() 171 case static_cast<uint8_t>(DescriptorType::DESCRIPTOR_TYPE_ENDPOINT): in ParseConfigDescriptors() 266 …if (descriptorHeader.bDescriptorType == static_cast<uint8_t>(DescriptorType::DESCRIPTOR_TYPE_INTER… in ParseInterfaceDescriptor() 321 …if (descriptorHeader.bDescriptorType == static_cast<uint8_t>(DescriptorType::DESCRIPTOR_TYPE_ENDPO… in ParseEndpointDescriptor()
|
/ohos5.0/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 };
|
H A D | pipeline_state_desc.h | 310 enum DescriptorType { enum
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 391 enum class DescriptorType { enum 447 DescriptorType descriptorType { DescriptorType::MAX_ENUM }; 618 binding.descriptorType = static_cast<DescriptorType>(*ptr | (*(ptr + 1) << 8)); in GetPipelineLayout() 971 ShaderStageFlags shaderStateFlags, DescriptorType type, DescriptorSetLayout* layouts) in processResource() 1006 … processResource(compiler, ref, shaderStateFlags, DescriptorType::COMBINED_IMAGE_SAMPLER, layouts); in reflectDescriptorSets() 1010 processResource(compiler, ref, shaderStateFlags, DescriptorType::SAMPLER, layouts); in reflectDescriptorSets() 1014 processResource(compiler, ref, shaderStateFlags, DescriptorType::SAMPLED_IMAGE, layouts); in reflectDescriptorSets() 1018 processResource(compiler, ref, shaderStateFlags, DescriptorType::STORAGE_IMAGE, layouts); in reflectDescriptorSets() 1022 processResource(compiler, ref, shaderStateFlags, DescriptorType::UNIFORM_BUFFER, layouts); in reflectDescriptorSets() 1026 processResource(compiler, ref, shaderStateFlags, DescriptorType::STORAGE_BUFFER, layouts); in reflectDescriptorSets() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/ |
H A D | render_data_structures.h | 94 DescriptorType type { DescriptorType::CORE_DESCRIPTOR_TYPE_MAX_ENUM };
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_descriptor_set_manager_vk.cpp | 265 DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in BeginBackendFrame() 328 DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in BeginBackendFrame()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_manager.cpp | 138 constexpr inline bool IsUniformBuffer(const DescriptorType descriptorType) in IsUniformBuffer() 143 constexpr inline bool IsStorageBuffer(const DescriptorType descriptorType) in IsStorageBuffer() 2186 binding.descriptorType = static_cast<DescriptorType>(*ptr | (*(ptr + 1) << 8)); in GetPipelineLayout() 2187 … if ((binding.descriptorType > DescriptorType::CORE_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) && in GetPipelineLayout() 2189 (DescriptorType::CORE_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE & 0xffff))) { in GetPipelineLayout() 2190 … binding.descriptorType = DescriptorType::CORE_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE; in GetPipelineLayout()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_env.cpp | 279 DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in UpdateAndBindCustomSet()
|
H A D | render_node_default_material_render_slot.cpp | 523 DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in UpdateAndBindSet3()
|