st/glsl_to_nir: split the st_glsl_to_nir() function in two
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 13 Nov 2017 22:15:54 +0000 (09:15 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 3 Dec 2017 22:10:30 +0000 (09:10 +1100)
commitd586f39cb0fb65624d9e0534f5eaafbf2a3ccc88
treece2cb8a4ce536440b16b8a975e2593b74ee5b468
parentd38f99baecb8335421b392ecc38435a42d7b372c
st/glsl_to_nir: split the st_glsl_to_nir() function in two

We want to be able to generate NIR then apply NIR optimisations.
Once the optimisations are done we can then apply the new post opt
function which assigns uniforms etc based on the optimised IR.

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