[Mesa-dev] radv: Support for control flow attributes (SPIR-V: Unroll, DontUnroll and maybe Flatten, DontFlatten)
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Mon Apr 30 10:20:09 UTC 2018
We can look at passing it through to the optimizations. Do you have
any particular shaders where you are interested in the use of these?
On Sat, Apr 28, 2018 at 3:02 PM, Panagiotis Christopoulos Charitos
<godlike at ancient-ritual.com> wrote:
> 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
> www.anki3d.org
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list