diff options
author | Brian Paul <[email protected]> | 2010-09-17 12:16:02 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-17 12:16:45 -0600 |
commit | c70d539e24c901c54f427b91997f8ca566847f33 (patch) | |
tree | 7a2ccfcb62d3366427665b809c8776aa541eedd4 | |
parent | fd266ec62ca772a8551d2d7922d718d9d84bdf07 (diff) |
gallivm: added missing case for PIPE_TEXTURE_RECT
Fixes fd.o bug 30245
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.h | 1 |
1 files changed, 1 insertions, 0 deletions
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: |