https://bugs.freedesktop.org/show_bug.cgi?id=108841

            Bug ID: 108841
           Summary: [RADV] SPIRV's control flow attributes do not
                    propagate to LLVM
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: godl...@ancient-ritual.com
        QA Contact: mesa-dev@lists.freedesktop.org

Hi,

SPIR-V already supports control flow attributes (see SpvLoopControlMask and
SpvSelectionControlMask).

There is the GL_EXT_control_flow_attributes extension that exposes those in
GLSL and glslang already implements it. glslang's also implements them in its
HLSL backend.

When I use those attributes in a project of mine I observe some nice reduction
in VGPR usage on AMDVLK. In RADV though I see no difference.

I greped in mesa for those parameters and I didn't find any code using them.

Is it possible to add support?

Apart from my selfish reasons for asking this, I'd like to mention that DX11
games running through wine/proton/DXVK layers would probably make use of them
since HLSL supported those for quite some time already.

Thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to