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

(GLSL) send rotation index to shader #12827

Merged
merged 1 commit into from
Feb 21, 2023
Merged

(GLSL) send rotation index to shader #12827

merged 1 commit into from
Feb 21, 2023

Conversation

barbudreadmon
Copy link
Contributor

Follow-up of #12816

Even if the original issue with zfast was fixed in a simpler way, sending the rotation index still sounds like a good idea, it should give more flexibility for shader programming. Furthermore, the zfast fix might not be portable to all shaders using gl_FragCoord.

@inactive123
Copy link
Contributor

Hi @jdgleaver , should we still merge this?

@Themaister any thoughts?

@jdgleaver
Copy link
Contributor

@twinaphex I am not familiar enough with the shader implementation to comment on this PR. But I don't see anything objectionable here.

@barbudreadmon
Copy link
Contributor Author

Note that it only handles glsl, someone still needs to port this to other shader formats (not sure i'll have the time and knowledge to successfully do this)

@LibretroAdmin
Copy link
Contributor

Alright, I'll finally merge this (belatedly).

We still need an implementation of this for slang though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants