projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb1b89
)
i965: Shut up the last release build warning.
author
Eric Anholt
<eric@anholt.net>
Thu, 11 Apr 2013 17:46:02 +0000
(10:46 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Apr 2013 23:32:14 +0000
(16:32 -0700)
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@gmail.com>
src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp
patch
|
blob
|
history
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 9e661a1b5a0f54743d36e8cf64ae1a15479d9151..d0c1ea48dc240db1653c1e5fedfa74187483bfb9 100644
(file)
--- 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)