[Mesa-dev] radv: Support for control flow attributes (SPIR-V: Unroll, DontUnroll and maybe Flatten, DontFlatten)

Panagiotis Christopoulos Charitos godlike at ancient-ritual.com
Sat Apr 28 13:02:52 UTC 2018


Hi,

SPIR-V supports a few control flow decorations. These decorations are
exposed in glslang as well as part of GL_EXT_control_flow_attributes
extension.

AMDVLK's compiler supports those decorations and when used it may result in
lower VGPR usage.

On the other hand RADV seems to ignore them.

Does it make sense to support them as well? Is yes,  are there any plans?

PS: I've built mesa with LLVM 6.0.0


Panagiotis Christopoulos Charitos
www.ancient-ritual.com <http://ancient-ritual.com>
www.anki3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180428/6ee06241/attachment-0001.html>


More information about the mesa-dev mailing list