Module: Mesa
Branch: lp-binning
Commit: 9be1feacf2dbd36fa9fb65b9932a74f04a7d9cca
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9be1feacf2dbd36fa9fb65b9932a74f04a7d9cca

Author: Brian Paul <bri...@vmware.com>
Date:   Wed Jan 13 10:57:44 2010 -0700

llvmpipe: added llvmpipe_texture_const()

---

 src/gallium/drivers/llvmpipe/lp_texture.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h 
b/src/gallium/drivers/llvmpipe/lp_texture.h
index 00a2076..e37ef60 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.h
+++ b/src/gallium/drivers/llvmpipe/lp_texture.h
@@ -73,6 +73,13 @@ llvmpipe_texture(struct pipe_texture *pt)
    return (struct llvmpipe_texture *) pt;
 }
 
+static INLINE const struct llvmpipe_texture *
+llvmpipe_texture_const(const struct pipe_texture *pt)
+{
+   return (const struct llvmpipe_texture *) pt;
+}
+
+
 static INLINE struct llvmpipe_transfer *
 llvmpipe_transfer(struct pipe_transfer *pt)
 {

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

Reply via email to