/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_program_gles.h | 47 int32_t flipLocation { Gles::INVALID_LOCATION }; 49 BASE_NS::array_view<Gles::PushConstantReflection> pushConstants; 50 int32_t inputs[Gles::ResourceLimits::MAX_VERTEXINPUT_ATTRIBUTES] {}; 80 BASE_NS::vector<Gles::PushConstantReflection> pushConstants; 87 int32_t flipLocation { Gles::INVALID_LOCATION }; 89 BASE_NS::array_view<Gles::PushConstantReflection> pushConstants; 111 BASE_NS::vector<Gles::PushConstantReflection> pushConstants;
|
H A D | render_backend_gles.h | 53 namespace Gles { 150 …static void SetPushConstant(uint32_t program, const Gles::PushConstantReflection& pc, const void* … 151 …void SetPushConstants(uint32_t program, const BASE_NS::array_view<Gles::PushConstantReflection>& p… 235 BASE_NS::vector<Gles::Bind> resources; 239 …static Gles::Bind& SetupBind(const DescriptorSetLayoutBinding& res, BASE_NS::vector<Gles::Bind>& r… 240 void BindSampler(const BindableSampler& res, Gles::Bind& obj, uint32_t index); 241 …void BindImage(const BindableImage& res, const GpuResourceState& resState, Gles::Bind& obj, uint32… 242 …void BindImageSampler(const BindableImage& res, const GpuResourceState& resState, Gles::Bind& obj,… 243 …void BindBuffer(const BindableBuffer& res, Gles::Bind& obj, uint32_t dynamicOffset, uint32_t index…
|
H A D | gpu_program_gles.cpp | 58 vector<Gles::PushConstantReflection> pushConstants; 92 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessStorageBlocks() 93 PLUGIN_ASSERT(t.iBind < Gles::ResourceLimits::MAX_BIND_IN_SET); in ProcessStorageBlocks() 113 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessUniformBlocks() 157 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessImageTextures() 180 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessCombinedSamplers() 182 PLUGIN_ASSERT(t.sSet < Gles::ResourceLimits::MAX_SETS); in ProcessCombinedSamplers() 216 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessSubPassInputs() 239 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessSamplers() 584 if ((values[LOCATION] != Gles::INVALID_LOCATION) && in FilterInputs() [all …]
|
H A D | shader_module_gles.cpp | 107 …array_view<const ShaderSpecialization::Constant> constants, vector<Gles::SpecConstantInfo>& outSpe… in CreateSpecInfos() 109 static_assert(static_cast<uint32_t>(Gles::SpecConstantInfo::Types::BOOL) == in CreateSpecInfos() 112 …Gles::SpecConstantInfo info { static_cast<Gles::SpecConstantInfo::Types>(constant.type), constant.… in CreateSpecInfos() 190 Gles::PushConstantReflection refl; in ProcessShaderModule() 218 return Gles::Specialize(base.shaderStageFlags_, base.source_, base.constants_, specData); in SpecializeShaderModule()
|
H A D | shader_module_gles.h | 30 namespace Gles { 35 BASE_NS::vector<Gles::PushConstantReflection> infos; 85 BASE_NS::vector<Gles::SpecConstantInfo> specInfo_;
|
H A D | render_backend_gles.cpp | 54 namespace Gles { namespace 497 PLUGIN_UNUSED(Gles::CUBEMAP_LAYERS); in BlitCube() 1974 Gles::Bind& RenderBackendGLES::SetupBind(const DescriptorSetLayoutBinding& binding, vector<Gles::Bi… in SetupBind() 2043 vector<Gles::Bind>& resources = bind.resources; in ProcessBindings() 2156 PLUGIN_ASSERT(location != Gles::INVALID_LOCATION); in SetPushConstant() 2462 int32_t flipLocation = Gles::INVALID_LOCATION; in BindResources() 2527 if (flipLocation != Gles::INVALID_LOCATION) { in BindResources() 2757 …glBlendColor(cBlend.colorBlendConstants[Gles::RED_INDEX], cBlend.colorBlendConstants[Gles::GREEN_I… in PrimeBlendState() 2758 … cBlend.colorBlendConstants[Gles::BLUE_INDEX], cBlend.colorBlendConstants[Gles::ALPHA_INDEX]); in PrimeBlendState() 2942 …glBlendColor(blend.colorBlendConstants[Gles::RED_INDEX], blend.colorBlendConstants[Gles::GREEN_IND… in UpdateBlendState() [all …]
|
H A D | spirv_cross_helpers_gles.h | 26 namespace Gles { in RENDER_BEGIN_NAMESPACE()
|
H A D | spirv_cross_helper_structs_gles.h | 22 namespace Gles { in RENDER_BEGIN_NAMESPACE()
|
H A D | spirv_cross_helpers_gles.cpp | 27 namespace Gles { namespace
|
H A D | pipeline_state_object_gles.cpp | 215 if (shaderdata.inputs[idx] != Gles::INVALID_LOCATION) { in MakeVAO()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 1237 std::vector<Gles::PushConstantReflection> pushConstantReflection; in reflectSpvBinary() 1243 … Gles::ProcessStruct(std::string_view(name.data(), name.size()), 0, compiler, remap.base_type_id, in reflectSpvBinary() 1372 Binding get_binding(Gles::CoreCompiler& compiler, spirv_cross::ID id) in get_binding() 1376 assert(dset < Gles::ResourceLimits::MAX_SETS); in get_binding() 1377 assert(dbind < Gles::ResourceLimits::MAX_BIND_IN_SET); in get_binding() 1429 std::vector<Gles::PushConstantReflection> infos; 1521 auto compiler = Gles::CoreCompiler(reinterpret_cast<const uint32_t*>(createInfo.spvData.data()), in ProcessShaderModule() 1528 Gles::ConvertSpecConstToConstant(compiler, "CORE_FLIP_NDC"); in ProcessShaderModule() 1535 Gles::ReflectPushConstants(compiler, res, me.plat_.infos, me.shaderStageFlags_); in ProcessShaderModule() 1540 Gles::SetSpecMacro(compiler, "CORE_BACKEND_TYPE", 1U); in ProcessShaderModule() [all …]
|
H A D | spirv_cross_helpers_gles.h | 26 namespace Gles {
|
H A D | spirv_cross_helper_structs_gles.h | 140 namespace Gles {
|
H A D | spirv_cross_helpers_gles.cpp | 21 namespace Gles { namespace
|