st/nir: make st_nir_opts() available externally
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 9 May 2018 03:25:46 +0000 (13:25 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sat, 12 May 2018 04:48:21 +0000 (14:48 +1000)
commit0b3e9564bdda575c3956f338454f4f632041e151
tree8559f3d36c887713e3bd80b2952f3c815c8681b9
parent0907d3ab9c61ee1fc841aaf22fb4a5ab38633a0c
st/nir: make st_nir_opts() available externally

The following patch will make use of this for asm style programs.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_nir.h