[Mesa-dev] [PATCH 12/12] i965: Shut up the last release build warning.
Eric Anholt
eric at anholt.net
Thu Apr 11 11:06:39 PDT 2013
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.
---
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 9e661a1..d0c1ea4 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)
--
1.7.10.4
More information about the mesa-dev
mailing list