From c70d539e24c901c54f427b91997f8ca566847f33 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Sep 2010 12:16:02 -0600 Subject: gallivm: added missing case for PIPE_TEXTURE_RECT Fixes fd.o bug 30245 --- src/gallium/auxiliary/gallivm/lp_bld_sample.h | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3