[Libre-soc-bugs] [Bug 251] Initial 3D MESA non-accelerated software-only driver is needed
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Aug 7 17:25:52 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=251
--- Comment #19 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to vivekvpandya from comment #18)
> Why NIR is required? As per comment 3 we need to support a SPIR-V IR and
> that can be through any API right? Also can we use something like
> https://github.com/mesa3d/mesa/commits/master/src/gallium/drivers/llvmpipe
> I have not checked it yet but that seems to have one more abstraction before
> LLVM.
Because NIR has lots of GPU-specific optimization passes that LLVM doesn't,
such as cross-shader optimizations. The rest of MESA is also already built to
interact with NIR when it needs to read properties of the shaders. It is not
built to do that with LLVM or with LLPC. Luke was oversimplifying somewhat.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list