projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae0ef6f
)
u_blitter: use TGSI_TEXTURE_RECT
author
Luca Barbieri
<luca@luca-barbieri.com>
Wed, 18 Aug 2010 15:30:20 +0000
(17:30 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 20 Aug 2010 10:04:01 +0000
(12:04 +0200)
This seems to make sense, although I suspect the semantics of
TGSI_TEXTURE_RECT need to be closely reviewed.
src/gallium/auxiliary/util/u_blitter.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index 4b69a7fb6ab317200246088b52abdda04bc40e87..9c6887b5cda977dbd86841b8e4b86890adad0642 100644
(file)
--- a/
src/gallium/auxiliary/util/u_blitter.c
+++ b/
src/gallium/auxiliary/util/u_blitter.c
@@
-570,7
+570,7
@@
pipe_tex_to_tgsi_tex(enum pipe_texture_target pipe_tex_target)
case PIPE_TEXTURE_2D:
return TGSI_TEXTURE_2D;
case PIPE_TEXTURE_RECT:
- return TGSI_TEXTURE_
2D
;
+ return TGSI_TEXTURE_
RECT
;
case PIPE_TEXTURE_3D:
return TGSI_TEXTURE_3D;
case PIPE_TEXTURE_CUBE: