projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd266ec
)
gallivm: added missing case for PIPE_TEXTURE_RECT
author
Brian Paul
<brianp@vmware.com>
Fri, 17 Sep 2010 18:16:02 +0000
(12:16 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Sep 2010 18:16:45 +0000
(12:16 -0600)
Fixes fd.o bug 30245
src/gallium/auxiliary/gallivm/lp_bld_sample.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_sample.h
b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
index 1a9cc944a33cb51a9e3e1d46d3f9deb0abaaa5d8..8b042d5242e15ee5a14baba68a9f393ce6438dfe 100644
(file)
--- 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: