state_stracker: Fix access to uninitialized memory.
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Sat, 28 Jan 2012 17:55:08 +0000 (18:55 +0100)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Sat, 28 Jan 2012 23:15:48 +0000 (00:15 +0100)
commit1d01429c6a1ae679d0cc0cb61db1948fca5ced4c
tree7c3b5bc1e6d0fa74368f656fd5775052035eca83
parent743432039ccd4c4af03aa4ef274a7922f871bc38
state_stracker: Fix access to uninitialized memory.

Fix an access to uninitialized memory pointed out by valgrind in
glsl_to_tgsi_visitor::simplify_cmp(void).

Note: This is a candidate for the 8.0 branch.
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp