Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial support for GLSL ES 3.10. #240

Merged
merged 1 commit into from Apr 3, 2014

Conversation

Sonicadvance1
Copy link
Contributor

GLSL ES 3.10 adds implicit support for the binding layout qualifier that we use.
Changes our GLSL version enums to bit values so we can check for both ES versions easily.

@@ -478,13 +478,13 @@ void ProgramShaderCache::CreateHeader ( void )
"%s\n" // replace textureSize as constant
"%s\n" // wipe out all centroid usages

, v==GLSLES3 ? "#version 300 es" : v==GLSL_130 ? "#version 130" : v==GLSL_140 ? "#version 140" : "#version 150"

This comment was marked as off-topic.

@Parlane
Copy link
Member

Parlane commented Apr 3, 2014

LGTM

{
g_ogl_config.eSupportedGLSLVersion = GLSLES_310;
g_Config.backend_info.bSupportsBindingLayout = true;
}

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@degasus
Copy link
Member

degasus commented Apr 3, 2014

lgtm

GLSL ES 3.10 adds implicit support for the binding layout qualifier that we use.
Changes our GLSL version enums to bit values so we can check for both ES versions easily.
Parlane added a commit that referenced this pull request Apr 3, 2014
Add initial support for GLSL ES 3.10.
@Parlane Parlane merged commit 13119e6 into dolphin-emu:master Apr 3, 2014
Joern-P pushed a commit to Joern-P/dolphin that referenced this pull request Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants