-
Notifications
You must be signed in to change notification settings - Fork 862
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
HLSL: emit OpLoopMerge Unroll for HLSL [unroll] #836
Comments
This is definitely a critical optimization for us, as well |
This is listed in #362, where I have bumped it to the top of the list (reflecting priority order). The following is outside the scope of glslang, but I trust you are also lobbying IHVs to respect the SPIR-V hints for this? |
I wonder if IHVs may often unroll a loop even without an explicit hint. |
John, definitely want those hints to work in GLSL source as well. |
I believe that currently [unroll] in the HLSL does not result in OpLoopMerge Unroll in the SPIR-V. Please add support for this, it is a feature relied upon by a lot of HLSL for performance.
The text was updated successfully, but these errors were encountered: