st/mesa: exit st_translate_fragment_program() earlier for NIR path
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 5 Apr 2018 06:20:23 +0000 (16:20 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 10 Apr 2018 05:10:16 +0000 (15:10 +1000)
commitbc71e20993a456ab17e1775bf905fa000aae4c71
tree484c2f7f4e6c708f58bea406651adf8c363c2857
parent494a5c350126268c45f3055687e22593a3fd74f4
st/mesa: exit st_translate_fragment_program() earlier for NIR path

This avoids a bunch of scanning that is only used by the TGSI path.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.c