st/mesa: don't call translate_*_program functions for NIR
authorMarek Olšák <marek.olsak@amd.com>
Fri, 27 Sep 2019 21:43:42 +0000 (17:43 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 17 Oct 2019 00:10:47 +0000 (20:10 -0400)
commitf54dcaf232e58e4b4288605b1f58263862116cc4
treebf58aae5100e79d9b20ea5fd4fadc4bc1d5bf720
parentf86b28dfdc2503e9bbf669f8f675b58df92d53e5
st/mesa: don't call translate_*_program functions for NIR

move the initializaton to st_link_nir

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_cb_program.c
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_program.c