tgsi,st/mesa: move varying slot to semantic mapping into a helper for VS
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 17 May 2017 15:44:34 +0000 (17:44 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 5 Jul 2017 10:27:11 +0000 (12:27 +0200)
commit497b95fdf641eb5e52de1a6a51d251ee2b3bdb2d
treef704eeaba07ff65ede142ce9e88f064ba14f21d9
parentd91f97f91db4a826f7d5909a2a63a028a81188bb
tgsi,st/mesa: move varying slot to semantic mapping into a helper for VS

We will use this helper in radeonsi's NIR path.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/tgsi/tgsi_from_mesa.c [new file with mode: 0644]
src/gallium/auxiliary/tgsi/tgsi_from_mesa.h [new file with mode: 0644]
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h