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

Consider auto-optimizing shaders #11412

Closed
unknownbrackets opened this issue Sep 22, 2018 · 3 comments
Closed

Consider auto-optimizing shaders #11412

unknownbrackets opened this issue Sep 22, 2018 · 3 comments

Comments

@unknownbrackets
Copy link
Collaborator

Potentially, we could do this even on GLES. Not sure if it would be unsafe in some cases.

I'm not sure what it does, but this suggested an optimization pass helped both Mali-4xx bugs and performance a bit:
#11393 (comment)

-[Unknown]

@unknownbrackets unknownbrackets changed the title Consider optimizing shaders Consider auto-optimizing shaders Sep 22, 2018
@hrydgard
Copy link
Owner

We could also be more careful to generate efficient glsl directly, but yeah, it would be neat to just run all glsl shaders through spirv-opt and back to glsl. Could possibly be beneficial for Vulkan in addition to GLES, although it was kind of implied.

@ghost
Copy link

ghost commented Sep 14, 2021

This is still valid?

@hrydgard
Copy link
Owner

I don't think this is very likely to have a big effect and not gonna get around to it anytime soon. closing.

@hrydgard hrydgard removed this from the Future milestone Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants