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

OGL: Fix stereoscopy #7857

Open
wants to merge 2 commits into
base: master
from

Conversation

1 participant
@stenzek
Copy link
Contributor

stenzek commented Mar 5, 2019

Does what the title says. We need to use interface names for glsl because we don't use explicit locations. Needs testing to ensure it doesn't break in Vulkan.

Also fixes a random error on shutdown which was seen occasionally (if the last thing drawn was imgui).

stenzek added some commits Mar 5, 2019

ShaderGen: Use interface blocks when geometry shaders are supported
We don't use explicit locations in OpenGL currently, so this breaks
when we use alternative names in the geometry shaders.
OGL: Fix binding error on shutdown
This was occurring if the imgui vertex format was bound on shutdown,
which is destroyed before the vertex buffers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.