[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
Wed Aug 5 16:01:01 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=251
--- Comment #7 from vivekvpandya <vivekvpandya at gmail.com> ---
(In reply to Jacob Lifshay from comment #6)
> (In reply to vivekvpandya from comment #4)
> > Is it okay to use fork of
> > https://github.com/KhronosGroup/SPIRV-LLVM-Translator ?
> > for SPIRV to LLVM translation ? Or we want to write similar library from
> > scratch?
>
> That particular library isn't currently suitable for Vulkan, it is based on
> the OpenCL SPIR-V dialect, which is somewhat different than the Vulkan
> SPIR-V dialect. Additionally, it is based on a really old version of LLVM
> last I checked.
>
> If you're going to base everything on Mesa, you should use the NIR code,
> since there is already a Vulkan SPIR-V to NIR translator. You would need to
> write the NIR to vectorized LLVM translator.
I see this commit related to LLVM 12.
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/501a277a0b18e6d709f4bec5e6557c9099207af4
Also I could not find that it supports only OpenCL dialect.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list