freedreno/ir3: ir3_cmdline updates
authorRob Clark <robdclark@chromium.org>
Sun, 19 Jul 2020 17:31:23 +0000 (10:31 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 21:00:44 +0000 (21:00 +0000)
commite0947903fc7d2790a962a98ea290e66bfdde3969
tree36f2912f367e98d87edabd58fa4d88b8c60271b0
parent283ad85944b5d9082f0ede7ab41fb353db53fee8
freedreno/ir3: ir3_cmdline updates

1) convert to getopt, and drop most variant related options since
   they aren't super-useful these days.. and easy enough to add
   back if/when needed.  (Also, none of the newer shader variant
   options where covered before.)
2) covert to dynamically allocated shader/variant, to get things
   working again after ir3_shader/_variant converted to ralloc
3) few small cleanups

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6189>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c