Browse Source

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

Reviewed-by: Matt Turner <mattst88@gmail.com>
tags/mesa-9.2-rc1
Eric Anholt 13 years ago
parent
commit
b5a0f59c0f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp

+ 1
- 1
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp 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:

Loading…
Cancel
Save