[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:16:32 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=251

--- Comment #18 from vivekvpandya <vivekvpandya at gmail.com> ---
(In reply to Jacob Lifshay from comment #17)
> (In reply to vivekvpandya from comment #16)
> > For now I don't see any reason to work on MLIR dialect.
> > Based on this presentation it seems to support compute shaders only, work is
> > in progress
> > https://drive.google.com/drive/u/0/folders/1jTTzQkBj8gq7gavtfuWFpv-dc0pH_VEn
> > 
> > I think we can start with 
> > https://github.com/GPUOpen-Drivers/llpc/tree/dev/llpc/translator and see how
> > we can make it working on x86 instructions, instead of AMDGPU specific
> > instructions.
> 
> I really think a better way to go is to use NIR, since it is already built
> into MESA instead of using AMDVLK's pipeline compiler. Also, since several
> GPU drivers are built using it, it is less likely to have things that only
> work on AMD gpus.
> 
> NIR is the de-facto MESA way to write a Vulkan driver.

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list