Mesa (9.1): i965: Shut up the last release build warning.
Jordan Justen
jljusten at kemper.freedesktop.org
Wed Jun 26 18:09:17 UTC 2013
Module: Mesa
Branch: 9.1
Commit: bd5ccbd4ebb08ab488491eb154dea112e2bdea99
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd5ccbd4ebb08ab488491eb154dea112e2bdea99
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>
(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)
More information about the mesa-commit
mailing list