/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 { namespace 58 } // namespace Gles 150 static void SetPushConstant(uint32_t program, const Gles::PushConstantReflection& pc, const void* data); 151 void SetPushConstants(uint32_t program, const BASE_NS::array_view<Gles::PushConstantReflection>& pushConstants); 235 BASE_NS::vector<Gles::Bind> resources; 239 static Gles::Bind& SetupBind(const DescriptorSetLayoutBinding& res, BASE_NS::vector<Gles::Bind>& resources); 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_t index); 242 void BindImageSampler(const BindableImage& res, const GpuResourceState& resState, Gles [all...] |
H A D | gpu_program_gles.cpp | 56 uint8_t map[Gles::ResourceLimits::MAX_BINDS] { 0 }; // mapping from set/binding -> "unit/binding" 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() 114 PLUGIN_ASSERT(t.iBind < Gles::ResourceLimits::MAX_BIND_IN_SET); in ProcessUniformBlocks() 157 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessImageTextures() 158 PLUGIN_ASSERT(t.iBind < Gles::ResourceLimits::MAX_BIND_IN_SET); in ProcessImageTextures() 180 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessCombinedSamplers() 181 PLUGIN_ASSERT(t.iBind < Gles in ProcessCombinedSamplers() [all...] |
H A D | shader_module_gles.h | 30 namespace Gles { namespace 33 } // namespace Gles 35 BASE_NS::vector<Gles::PushConstantReflection> infos; 85 BASE_NS::vector<Gles::SpecConstantInfo> specInfo_;
|
H A D | shader_module_gles.cpp | 107 array_view<const ShaderSpecialization::Constant> constants, vector<Gles::SpecConstantInfo>& outSpecInfo) 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.id, 1U, 1U, in CreateSpecInfos() 190 Gles::PushConstantReflection refl; in ProcessShaderModule() 218 return Gles::Specialize(base.shaderStageFlags_, base.source_, base.constants_, specData); in SpecializeShaderModule()
|
H A D | spirv_cross_helpers_gles.h | 26 namespace Gles { namespace 39 } // namespace Gles
|
H A D | spirv_cross_helper_structs_gles.h | 22 namespace Gles { namespace 74 } // namespace Gles
|
H A D | render_backend_gles.cpp | 54 namespace Gles { namespace 85 } // namespace Gles 108 PLUGIN_ASSERT_MSG(layer < Gles::CUBEMAP_LAYERS, "Invalid cubemap index %u", layer); in getCubeMapTarget() 497 PLUGIN_UNUSED(Gles::CUBEMAP_LAYERS); in BlitCube() 498 PLUGIN_ASSERT_MSG(imageSubresource.baseArrayLayer == 0 && imageSubresource.layerCount == Gles::CUBEMAP_LAYERS, in BlitCube() 1973 Gles::Bind& RenderBackendGLES::SetupBind(const DescriptorSetLayoutBinding& binding, vector<Gles::Bind>& resources) in SetupBind() 1982 void RenderBackendGLES::BindSampler(const BindableSampler& res, Gles::Bind& obj, uint32_t index) in BindSampler() 1994 const BindableImage& res, const GpuResourceState& resState, Gles::Bind& obj, uint32_t index) in BindImage() 2016 const BindableImage& res, const GpuResourceState& resState, Gles in BindImageSampler() [all...] |
H A D | spirv_cross_helpers_gles.cpp | 27 namespace Gles { namespace 162 } // namespace Gles
|
H A D | pipeline_state_object_gles.cpp | 215 if (shaderdata.inputs[idx] != Gles::INVALID_LOCATION) {
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 1237 std::vector<Gles::PushConstantReflection> pushConstantReflection;
1243 Gles::ProcessStruct(std::string_view(name.data(), name.size()), 0, compiler, remap.base_type_id,
1372 Binding get_binding(Gles::CoreCompiler& compiler, spirv_cross::ID id)
1376 assert(dset < Gles::ResourceLimits::MAX_SETS);
1377 assert(dbind < Gles::ResourceLimits::MAX_BIND_IN_SET);
1396 void Collect(Gles::CoreCompiler& compiler, const spirv_cross::SmallVector<spirv_cross::Resource>& resources,
1429 std::vector<Gles::PushConstantReflection> infos;
1433 Gles::CoreCompiler& compiler, const spirv_cross::ShaderResources& res, ShaderModulePlatformDataGLES& plat_)
1482 void SetupSpirvCross(ShaderStageFlags stage, Gles::CoreCompiler* compiler, DeviceBackendType backend, bool ovrEnabled)
1521 auto compiler = Gles [all...] |
H A D | spirv_cross_helpers_gles.h | 26 namespace Gles {
namespace 65 } // namespace Gles
|
H A D | spirv_cross_helper_structs_gles.h | 140 namespace Gles {
namespace 193 } // namespace Gles
|
H A D | spirv_cross_helpers_gles.cpp | 21 namespace Gles {
namespace 407 } // namespace Gles
|