st/glsl_to_nir: fix the case where NIR clone testing is enabled
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 25 Jun 2017 13:26:47 +0000 (15:26 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 12:55:29 +0000 (14:55 +0200)
commit06d038c4bd479207576bcbfee9f6c3dc7ee64b94
tree8ff6da9adc07af54206419f081756d9189120fe9
parent01f1598a403686809fa630e1d38f8a3687314df9
st/glsl_to_nir: fix the case where NIR clone testing is enabled

In that case, prog->nir must be assigned at the end.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp