Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743968 - dev-games/ogre-1.12.9 Re-Enable "gles2" USE flag to add "OpenGL ES2/3" Render System
Summary: dev-games/ogre-1.12.9 Re-Enable "gles2" USE flag to add "OpenGL ES2/3" Render...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: https://github.com/Yamakuzure/gentoo/...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-09-21 15:01 UTC by Sven Eden
Modified: 2021-12-15 08:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Eden 2020-09-21 15:01:57 UTC
Currently the "gles2" USE flag is disabled, because Ogre-1.12.x unconditionally includes hlsl2glsl.h, which causes the build to fail. It also tries to utilize glsl-optimizer, which is also not available.

So for being able to have the OpenGL ES2/3 Render System back, we need ebuilds for
 * https://github.com/aras-p/hlsl2glslfork and
 * https://github.com/aras-p/glsl-optimizer

Note: A PR is on its way, but I have to wait for https://github.com/gentoo/gentoo/pull/17619 to be merged, as it is based on that.
I have already tested the SampleBrowser with "OpenGL ES2/3 Render System" and everything looks solid"

Reproducible: Always
Comment 1 Sven Eden 2020-09-29 06:06:11 UTC
As Ross C. pointed out, hlsl2glsl and glsl-optimizer are no longer hard wired into GLES2-enabled builds.
This was the case until v1.12.8, and now that we have ebuilds for these tools, upstream fixed it.

The PR has been updated to no longer add these two tools as new packages, as they are strictly back to being absolutely optional.

A separate bug and PR might be opened to add HLSL Shader support and GLSL Shader Optimization.