mesa/st: Move the SYSTEM_VALUE -> TGSI_SEMANTIC map to tgsi_from_mesa.
authorEric Anholt <eric@anholt.net>
Mon, 13 Jan 2020 23:30:07 +0000 (15:30 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Feb 2020 22:25:59 +0000 (22:25 +0000)
commite25967d6b81b9ac9dccfe92cc92dc8d977eab592
tree70ba409782b1eda7e1b4de0bf8b789b3dccc7aee
parent9891062642a3f35dc326b305fca2407f9041915c
mesa/st: Move the SYSTEM_VALUE -> TGSI_SEMANTIC map to tgsi_from_mesa.

This will let us reuse the table from nir-to-tgsi.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3506>
src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
src/gallium/auxiliary/tgsi/tgsi_from_mesa.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c