Module: Mesa Branch: 9.1 Commit: bd5ccbd4ebb08ab488491eb154dea112e2bdea99 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd5ccbd4ebb08ab488491eb154dea112e2bdea99
Author: Eric Anholt <[email protected]> Date: Thu Apr 11 10:46:02 2013 -0700 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]> (cherry picked from commit 1658efc42cc6a8a32fde222b74f052f4f7b1434a) --- .../dri/i965/brw_lower_texture_gradients.cpp | 1 + 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 a192d0e..c5294bc 100644 --- a/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp +++ b/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp @@ -78,6 +78,7 @@ txs_type(const glsl_type *type) break; default: assert(!"Should not get here: invalid sampler dimensionality"); + dims = 2; } if (type->sampler_array) _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
