anv: added proper handling for input argument in intel_clc
authorLuis Felipe Strano Moraes <luis.strano@gmail.com>
Wed, 19 Oct 2022 00:48:55 +0000 (17:48 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 02:24:39 +0000 (02:24 +0000)
commiteff1517cd7b07450bc75fed03e13dfd621fa299f
treecf29db472ef8858359dbfb01ae8652de04c6851e
parent8de02ff980fc4a8d5e4c65c030790b04e96899d6
anv: added proper handling for input argument in intel_clc

That was previously listed on the getopt_long struct but not actually
being used. This makes intel_clc argument processing easier as now
all of its arguments are handled with getopt and anything after the
special argument '--' is passed along to clang to form the final build
command.

Thanks to Dylan Baker for help with changes to the meson file.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19153>
src/intel/compiler/intel_clc.c
src/intel/vulkan/grl/meson.build