[Mesa-dev] Where to place the SPIR-V headers

Pierre Moreau pierre.morrow at free.fr
Sun Nov 6 15:36:44 UTC 2016


Hello everyone,

I have been working on translating SPIR-V to NV50 IR inside Nouveau in order to
run OpenCL kernels, received as SPIR-V binaries, on Nouveau. I have some
patches for clover as well as gallium, but before sending those for review, I
would like to know how to handle the SPIR-V header files.

Currently, some of the SPIR-V headers (the C version + the GLSL instruction-
set) can be found in `src/compiler/spirv`. Clover and Nouveau will both use the
C++ version of the SPIR-V header and the OpenCL instruction-set header; to
support ARB_gl_spirv, Nouveau will also need the GLSL instruction-set header.
Should all headers be moved to a common folder, or should each project have its
own copy?

Regards,
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161106/70c53784/attachment.sig>


More information about the mesa-dev mailing list