mesa/st: lower samplers before nir_lower_tex
authorRob Clark <robdclark@chromium.org>
Mon, 13 Jan 2020 19:36:19 +0000 (11:36 -0800)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 13 Jan 2020 23:19:49 +0000 (23:19 +0000)
commit1c6a2efa06e9bb5914f4557118930fc61065a467
tree33e64ef372b5836bfde5d6d72dbe2e90dc9e9d5f
parent4cda61f11e922fb5914ae73d22cc0c495abf0377
mesa/st: lower samplers before nir_lower_tex

Fixes incorrect lowering of YUV samplers when there are non-yuv
samplers.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3368>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3368>
src/mesa/state_tracker/st_program.c