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

Use precision qualifiers in the generator #269

Open
afd opened this issue Feb 20, 2019 · 1 comment
Open

Use precision qualifiers in the generator #269

afd opened this issue Feb 20, 2019 · 1 comment
Assignees
Labels
component:generator The shader generator enhancement New feature or request interesting

Comments

@afd
Copy link
Contributor

afd commented Feb 20, 2019

This spirv-opt bug to do with half precision is something we wouldn't find at present as we don't generate code that involves lowp and mediump variables / expressions (which could be half-precision on mobile).

We should look for opportunities in the generator to do this. In particular:

  • Changing precision could be a semantics-changing transformation

  • Precision can be changed arbitrarily in live/dead code injection

  • Precision qualifiers can be applied arbitrarily to fuzzed expressions

@afd afd added component:generator The shader generator enhancement New feature or request labels Feb 20, 2019
@afd afd added this to the Generator and reducer enhancements milestone Mar 7, 2019
@afd afd added the interesting label May 1, 2020
@afd
Copy link
Contributor Author

afd commented Sep 22, 2020

@jarisiru I think this would be a good issue for you to take. Probably worth discussing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:generator The shader generator enhancement New feature or request interesting
Projects
None yet
Development

No branches or pull requests

2 participants