st/nine: Fix sm3 relative addressing for non-debug build
authorAxel Davy <axel.davy@ens.fr>
Sun, 7 Dec 2014 12:42:41 +0000 (13:42 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 22 Jan 2015 22:16:23 +0000 (22:16 +0000)
commita721987077ae22e0c373ea118113361aada2024e
tree23fb00357d637a56c8ec69edc3acc3fa0e0071f5
parent4b7a9cfddb1b8b47aeb2b466f66973d962555542
st/nine: Fix sm3 relative addressing for non-debug build

Relative addressing needs the constant buffer to get all
the correct constants, even those defined by the shader.

The code to copy the shader constants to the constant buffer
was enabled only for debug build. Enable it always.

Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_state.c