glsl: Initialize lod_info in the ir_texture constructor.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Sep 2013 06:18:37 +0000 (23:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Sep 2013 18:52:21 +0000 (11:52 -0700)
commit33faaf0b4ac6391793eea8771090ae6def4882da
tree17243c887a68a3c500f00d49a623963d9e51f928
parent1b3a482a9642a6850f1717966f1c6630fcbbe3bc
glsl: Initialize lod_info in the ir_texture constructor.

This isn't strictly necessary, since creators of ir_texture objects
should set LOD when relevant.  However, it's nice to have a NULL pointer
in case they forget.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ir.h