st/nine: Cleaning code for vs temporaries
authorAxel Davy <axel.davy@ens.fr>
Fri, 23 Sep 2016 21:14:36 +0000 (23:14 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:50 +0000 (23:43 +0200)
commit5d2a8e8a367b397466d191f47e766ee3540a6ea6
tree993452c40accefe38e75058d37ca88c266be5a6a
parent1f18b6f351f159ecd7703cc818941394990bafe9
st/nine: Cleaning code for vs temporaries

This has been a real mess up to now: the temporaries
were allocated once, and shared after that between
the different parts of the code.

To help maintaining the code, the temporaries are now
allocated and released on need.

As surprising as it could be, this patch, which was
supposed to introduce no behaviour change, actually
solved a visual bug observed on a sample program.
This was due to ureg_normalize3 polluting a temporary
variable.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_ff.c