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

vc4: Scheduling for register pressure/texture latency in NIR #94

Open
anholt opened this issue Jan 16, 2018 · 0 comments
Open

vc4: Scheduling for register pressure/texture latency in NIR #94

anholt opened this issue Jan 16, 2018 · 0 comments

Comments

@anholt
Copy link
Owner

anholt commented Jan 16, 2018

We have a lot of code in our QIR scheduler, when it's trying to solve a problem that every driver has: Try to reduce register pressure and hide texture latency by moving instructions around at a high level.

Could implement those two things in NIR, and then skip QIR scheduling entirely in favor of just doing QPU scheduling? This would mean a lot less vc4/vc5 compiler code, and could be better at scheduling code than QIR is (since we can't really move our flags updates/condition code usage groups past each other). This would help with #76.

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

1 participant