Mesa (master): i965: Shut up the last release build warning.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Apr 12 23:48:22 UTC 2013
Module: Mesa
Branch: master
Commit: 1658efc42cc6a8a32fde222b74f052f4f7b1434a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1658efc42cc6a8a32fde222b74f052f4f7b1434a
Author: Eric Anholt <eric at anholt.net>
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 <mattst88 at gmail.com>
---
.../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 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)
More information about the mesa-commit
mailing list