i965: Fix compiler warnings since the introduction of texture multisample.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Eric Anholt 2013-04-05 13:43:52 -07:00
parent 1faaa411c7
commit b5a0f59c0f

View file

@ -2120,7 +2120,7 @@ vec4_visitor::visit(ir_texture *ir)
shadow_comparitor = this->result;
}
const glsl_type *lod_type, *sample_index_type;
const glsl_type *lod_type = NULL, *sample_index_type = NULL;
src_reg lod, dPdx, dPdy, sample_index;
switch (ir->op) {
case ir_tex: