projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb9466
)
llvmpipe: added llvmpipe_texture_const()
author
Brian Paul
<brianp@vmware.com>
Wed, 13 Jan 2010 17:57:44 +0000
(10:57 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 13 Jan 2010 22:10:56 +0000
(15:10 -0700)
src/gallium/drivers/llvmpipe/lp_texture.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_texture.h
b/src/gallium/drivers/llvmpipe/lp_texture.h
index 00a20763e43f1c642b80222ef8f7b6c1d6451497..e37ef6059a293ab76795c81b16dc6c56e8d0ad5f 100644
(file)
--- 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)
{