Skip to content

Add support for CLC and linker args

Jesse Natalie requested to merge jenatali/mesa:clc-compiler-args into msclc-d3d12

This series changes the CLC interface to initialize clang with a command line arg list. Since the source file name is ".cl" clang auto-detects most of the correct settings. Beyond that, all other settings match what's specified in the CL spec. The runtime will be responsible for splitting the command line from a single string to multiple args. It also adds link library options.

/cc @kusma @daniels @bbrezillon

Merge request reports