-
Notifications
You must be signed in to change notification settings - Fork 246
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
Structured Control Flow #97
Comments
Hey! I know that loops are in progress, but I would be happy to help with them if there was any subtask that you may want to offload to an open source contributor! I have some experience with structured control flow, in the past I've worked on a SPMD pass on top of the Julia IR. I'll also be more than happy to work on switch! |
Reminder for us: |
Hey thanks for the offer. I expect to get loops and switches in before the end of the week. But if you want to look into creating a irreducible -> reducible pass that would be very helpful for us in the future. However I believe the plan is to strip the structuration pass and put it into SPIRV-TOOLS once we have the reducible pass since it may be off help to many more people. If you want to talk more in-depth you can always talk to me on the Embark discord. |
For non-kernel shaders SPIR-V requires you to mark structured control flow with merge instructions.
Primary Tasks:
break
(partially unreachable)break
(fully unreachable)continue
return
Secondary Tasks:
Backlog:
The text was updated successfully, but these errors were encountered: