Home
last modified time | relevance | path

Searched refs:reflectionData (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dshader_module_vk.cpp68 if (createInfo.reflectionData.IsValid()) { in ShaderModuleVk()
70 pipelineLayout_ = createInfo.reflectionData.GetPipelineLayout(); in ShaderModuleVk()
72 constants_ = createInfo.reflectionData.GetSpecializationConstants(); in ShaderModuleVk()
76 vertexInputAttributeDescriptions_ = createInfo.reflectionData.GetInputDescriptions(); in ShaderModuleVk()
88 const Math::UVec3 tgs = createInfo.reflectionData.GetLocalSize(); in ShaderModuleVk()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dshader_module_gles.cpp163 me.pipelineLayout_ = createInfo.reflectionData.GetPipelineLayout(); in ProcessShaderModule()
165 me.vertexInputAttributeDescriptions_ = createInfo.reflectionData.GetInputDescriptions(); in ProcessShaderModule()
181 const Math::UVec3 tgs = createInfo.reflectionData.GetLocalSize(); in ProcessShaderModule()
186 if (auto* ptr = createInfo.reflectionData.GetPushConstants(); ptr) { in ProcessShaderModule()
204 me.constants_ = createInfo.reflectionData.GetSpecializationConstants(); in ProcessShaderModule()
224 if (createInfo.reflectionData.IsValid() && in ShaderModuleGLES()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp519 array_view<const uint8_t> reflectionData; member
532 ShaderReflectionData reflectionData; member
574 if (reflectionData.size() < sizeof(ReflectionHeader)) { in IsValid()
594 auto ptr = reflectionData.data() + header.offsetPushConstants; in GetPipelineLayout()
602 auto ptr = reflectionData.data() + header.offsetDescriptorSets; in GetPipelineLayout()
635 auto ptr = reflectionData.data() + header.offsetSpecializationConstants; in GetSpecializationConstants()
657 if (header.offsetInputs && header.offsetInputs < reflectionData.size()) { in GetInputDescriptions()
658 auto ptr = reflectionData.data() + header.offsetInputs; in GetInputDescriptions()
680 auto ptr = reflectionData.data() + header.offsetLocalSize; in GetLocalSize()
1672 info.reflectionData.reflectionData = in runAllCompilationStages()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_manager.cpp2142 if (reflectionData.size() < sizeof(ReflectionHeader)) { in IsValid()
2161 if (header.offsetPushConstants && header.offsetPushConstants < reflectionData.size()) { in GetPipelineLayout()
2162 auto ptr = reflectionData.data() + header.offsetPushConstants; in GetPipelineLayout()
2170 auto ptr = reflectionData.data() + header.offsetDescriptorSets; in GetPipelineLayout()
2208 auto ptr = reflectionData.data() + header.offsetSpecializationConstants; in GetSpecializationConstants()
2230 if (header.offsetInputs && header.offsetInputs < reflectionData.size()) { in GetInputDescriptions()
2231 auto ptr = reflectionData.data() + header.offsetInputs; in GetInputDescriptions()
2252 if (header.offsetLocalSize && header.offsetLocalSize < reflectionData.size()) { in GetLocalSize()
2253 auto ptr = reflectionData.data() + header.offsetLocalSize; in GetLocalSize()
2267 if (header.offsetPushConstants && header.offsetPushConstants < reflectionData.size()) { in GetPushConstants()
[all …]
H A Dshader_manager.h78 BASE_NS::array_view<const uint8_t> reflectionData; member
93 ShaderReflectionData reflectionData; member
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_loader.h72 BASE_NS::vector<uint8_t> reflectionData; member
H A Dshader_loader.cpp298 info.reflectionData = ReadFile(*reflectionFile); in LoadShaderFile()
300 info.info = { stageBits, info.data, { info.reflectionData } }; in LoadShaderFile()