From 1658efc42cc6a8a32fde222b74f052f4f7b1434a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 11 Apr 2013 10:46:02 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2