st/glsl_to_nir: call some lowering passes earlier
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 14 Nov 2017 01:56:20 +0000 (12:56 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 3 Dec 2017 22:10:30 +0000 (09:10 +1100)
commit90abaf8a214affa2bffdc04ee24f941caedb29c0
tree9098538851dadbfc3e9c4af857170682dfc5a680
parentbd98b8c74ef9d404f98b77519eaf327b938a150a
st/glsl_to_nir: call some lowering passes earlier

This is required so that we can enbale NIR linking optimisations.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp