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

Error compiling shader: shaders/opengl/multi.frag #4494

Open
shmerl opened this Issue Nov 23, 2018 · 7 comments

Comments

Projects
None yet
3 participants
@shmerl

shmerl commented Nov 23, 2018

The game doesn't start on Linux, AMD Vega 56, current Mesa master.

error: Error compiling shader: shaders/opengl/multi.frag:
0:168(51): error: invalid input layout qualifier used
0:168(69): error: invalid input layout qualifier used
OpenGL vendor: X.Org
OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.27.0, 4.19.0-rc7-amd64, LLVM 8.0.0)

OpenGL:

OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.27.0, 4.19.0-rc7-amd64, LLVM 8.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.0-devel (git-dd0172e865)
OpenGL core profile shading language version string: 4.50
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.0.0-devel (git-dd0172e865)
OpenGL shading language version string: 4.50
@shmerl

This comment has been minimized.

shmerl commented Nov 23, 2018

@fluffyfreak

This comment has been minimized.

Contributor

fluffyfreak commented Nov 23, 2018

Interesting, it appears to have given you an OpenGL 4.5 core context OpenGL shading language version string: 4.50 which probably won't work.

We ask for an OpenGL 3.1 context because that's what our shaders will build against.

@shmerl

This comment has been minimized.

shmerl commented Nov 23, 2018

4.5 is the current one, so I guess it gives whatever the current one is?

@laarmen

This comment has been minimized.

Contributor

laarmen commented Nov 23, 2018

@fluffyfreak

This comment has been minimized.

Contributor

fluffyfreak commented Nov 23, 2018

Yes, you ask for a specific context, it should give you one compatible with that so that you don't try to use things which were deprecated or altered for example.

@shmerl

This comment has been minimized.

shmerl commented Nov 23, 2018

They implement all of course, and newer should contain older. You can check OpenGL 3.1 extensions, and they should be present.

@shmerl

This comment has been minimized.

shmerl commented Nov 23, 2018

See https://mesamatrix.net for radeonsi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment