glsl: initialise const force glsl extension warning in fake ctx
authorDave Airlie <airlied@redhat.com>
Tue, 13 Mar 2012 14:53:25 +0000 (14:53 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 25 Mar 2012 16:12:24 +0000 (17:12 +0100)
commitb78a77f979b21a84aecb6fa4f19a2ed51a48c306
tree87261207856dfa4e968e0b2623f4d18495f2d237
parent989e013b801095406ccbb22314dc263c6aeb0d5c
glsl: initialise const force glsl extension warning in fake ctx

valgrind complained about an uninitialised value being used in
glsl_parser_extras.cpp, and this was the one it was giving out about.

Just initialise the value in the fakectx.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/builtins/tools/generate_builtins.py