diff options
author | Eric Anholt <[email protected]> | 2013-04-05 13:43:52 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-04-12 16:32:11 -0700 |
commit | b5a0f59c0f167c2d99b585371e76c80c5342990c (patch) | |
tree | f3920175e2baac505e6dc1c40ef00ab381537ada /src/mesa/drivers/dri | |
parent | 1faaa411c7039b8b6e2118d8621ca940c674c2d4 (diff) |
i965: Fix compiler warnings since the introduction of texture multisample.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 856fbb4d6bd..2fb848293f6 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -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: |