From: Brian Paul Date: Fri, 17 Sep 2010 18:16:02 +0000 (-0600) Subject: gallivm: added missing case for PIPE_TEXTURE_RECT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c70d539e24c901c54f427b91997f8ca566847f33;p=mesa.git gallivm: added missing case for PIPE_TEXTURE_RECT Fixes fd.o bug 30245 --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index 1a9cc944a33..8b042d5242e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -225,6 +225,7 @@ texture_dims(enum pipe_texture_target tex) case PIPE_TEXTURE_1D: return 1; case PIPE_TEXTURE_2D: + case PIPE_TEXTURE_RECT: case PIPE_TEXTURE_CUBE: return 2; case PIPE_TEXTURE_3D: