HLSL: implement [unroll] and [loop] attributes
This adds infrastructure suitable for any front end to create SPIR-V loop
control flags. The only current front end doing so is HLSL.
[unroll] turns into spv::LoopControlUnrollMask
[loop] turns into spv::LoopControlDontUnrollMask
no specification means spv::LoopControlMaskNone
Showing
Test/baseResults/hlsl.loopattr.frag.out
0 → 100644
Test/hlsl.loopattr.frag
0 → 100644
Please
register
or
sign in
to comment