[Mesa-dev] [Bug 108841] [RADV] SPIRV's control flow attributes do not propagate to LLVM
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 22 21:08:02 UTC 2018
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 at lists.freedesktop.org
Reporter: godlike at ancient-ritual.com
QA Contact: mesa-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181122/ae82f2b1/attachment.html>
More information about the mesa-dev
mailing list