i965: Shut up the last release build warning.
authorEric Anholt <eric@anholt.net>
Thu, 11 Apr 2013 17:46:02 +0000 (10:46 -0700)
committerEric 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

index 9e661a1b5a0f54743d36e8cf64ae1a15479d9151..d0c1ea48dc240db1653c1e5fedfa74187483bfb9 100644 (file)
@@ -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)