gallium/tgsi: add helper tgsi_get_interp_mode
authorMarek Olšák <marek.olsak@amd.com>
Sat, 22 Aug 2020 10:28:52 +0000 (06:28 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Aug 2020 19:07:18 +0000 (19:07 +0000)
commit440aab95c3deac65d1ece587ff33ae7c3bb507cd
tree36d581a4890ed90f48f5145f2d0bb35855a40529
parent2519472845a7eccd9ff2bfc8a3061ec2ae00de06
gallium/tgsi: add helper tgsi_get_interp_mode

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6442>
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