st/glsl_to_nir: copy nir compiler options to context
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 30 Jan 2018 00:51:31 +0000 (11:51 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 30 Jan 2018 22:14:08 +0000 (09:14 +1100)
commit93e213f91f64189ff5fe65844a9fe5b8c48366c2
tree85332864c48b5cb7f6bfdcd21d8e6234bae97c55
parentdd6d6c63a700af98a7a7d65dcdf72e8be69d4643
st/glsl_to_nir: copy nir compiler options to context

Various nir passes may expect this to be here as does the nir
serialisation pass.

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