Mesa (gallium-rect-textures): u_blitter: use TGSI_TEXTURE_RECT

2010-08-20 Thread Luca Barbieri
Module: Mesa
Branch: gallium-rect-textures
Commit: 27911994dadf9c1fbbdaf0a78ba37e02a00eb672
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=27911994dadf9c1fbbdaf0a78ba37e02a00eb672

Author: Luca Barbieri l...@luca-barbieri.com
Date:   Wed Aug 18 17:30:20 2010 +0200

u_blitter: use TGSI_TEXTURE_RECT

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 |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blitter.c 
b/src/gallium/auxiliary/util/u_blitter.c
index 1d95280..163f3d6 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -569,7 +569,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:

___
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit


Mesa (gallium-rect-textures): u_blitter: use TGSI_TEXTURE_RECT

2010-08-18 Thread Luca Barbieri
Module: Mesa
Branch: gallium-rect-textures
Commit: da37dfc9fc8b978fbb68d9372733a16a7e055735
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=da37dfc9fc8b978fbb68d9372733a16a7e055735

Author: Luca Barbieri l...@luca-barbieri.com
Date:   Wed Aug 18 17:30:20 2010 +0200

u_blitter: use TGSI_TEXTURE_RECT

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 |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blitter.c 
b/src/gallium/auxiliary/util/u_blitter.c
index 1d95280..163f3d6 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -569,7 +569,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:

___
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit