Home
last modified time | relevance | path

Searched refs:DescriptorType (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dpipeline_layout_loader.cpp40 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 Dshader_module_gles.cpp60 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 Dgpu_program_gles.h39 DescriptorType type;
H A Drender_backend_gles.cpp62 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 Drender_node_parser_util.cpp54 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 Dnode_context_descriptor_set_manager.h47 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 Dpipeline_descriptor_set_binder.cpp35 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 Dpipeline_descriptor_set_binder.h34 constexpr RenderHandleType GetRenderHandleType(const DescriptorType dt) in RENDER_BEGIN_NAMESPACE()
64 constexpr AccessFlags GetAccessFlags(const DescriptorType dt) in RENDER_BEGIN_NAMESPACE()
H A Dnode_context_descriptor_set_manager.cpp37 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 Dusb_descriptor_parser.cpp30 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 Dpipeline_layout_desc.h55 DescriptorType descriptorType { DescriptorType::CORE_DESCRIPTOR_TYPE_MAX_ENUM };
H A Dpipeline_state_desc.h310 enum DescriptorType { enum
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp391 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 Drender_data_structures.h94 DescriptorType type { DescriptorType::CORE_DESCRIPTOR_TYPE_MAX_ENUM };
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dnode_context_descriptor_set_manager_vk.cpp265 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 Dshader_manager.cpp138 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 Drender_node_default_env.cpp279 DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in UpdateAndBindCustomSet()
H A Drender_node_default_material_render_slot.cpp523 DescriptorType::CORE_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in UpdateAndBindSet3()