summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-04-11 10:46:02 -0700
committerEric Anholt <[email protected]>2013-04-12 16:32:14 -0700
commit1658efc42cc6a8a32fde222b74f052f4f7b1434a (patch)
treeb9800c791b5a48179c6fbf473c7a26d8f2d0fa6d
parentdcb1b89c65b963ccc0e37cb7ace1e69c42f8cd26 (diff)
i965: Shut up the last release build warning.
I don't see a sensible value to use in this path, but we shouldn't ever hit this outside of developer new-texture-target enabling. Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp b/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp
index 9e661a1b5a0..d0c1ea48dc2 100644
--- a/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp
+++ b/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp
@@ -75,6 +75,7 @@ txs_type(const glsl_type *type)
break;
default:
assert(!"Should not get here: invalid sampler dimensionality");
+ dims = 2;
}
if (type->sampler_array)