Module: Mesa
Branch: gallium-resources
Commit: 7bbcb21e20cb545ef8dd5fc61d67ed931c69e813
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bbcb21e20cb545ef8dd5fc61d67ed931c69e813

Author: Keith Whitwell <[email protected]>
Date:   Sun Mar 14 22:19:30 2010 +0000

gallivm: convert to pipe_resources

---

 src/gallium/auxiliary/gallivm/lp_bld_sample.c |    2 +-
 src/gallium/auxiliary/gallivm/lp_bld_sample.h |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.c 
b/src/gallium/auxiliary/gallivm/lp_bld_sample.c
index 543fd5f..cb3a155 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.c
@@ -51,7 +51,7 @@
  */
 void
 lp_sampler_static_state(struct lp_sampler_static_state *state,
-                        const struct pipe_texture *texture,
+                        const struct pipe_resource *texture,
                         const struct pipe_sampler_state *sampler)
 {
    memset(state, 0, sizeof *state);
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h 
b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
index 7f08bfa..9c8122d 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
@@ -48,7 +48,7 @@ struct lp_build_context;
 /**
  * Sampler static state.
  *
- * These are the bits of state from pipe_texture and pipe_sampler_state that
+ * These are the bits of state from pipe_resource and pipe_sampler_state that
  * are embedded in the generated code.
  */
 struct lp_sampler_static_state
@@ -78,7 +78,7 @@ struct lp_sampler_static_state
 /**
  * Sampler dynamic state.
  *
- * These are the bits of state from pipe_texture and pipe_sampler_state that
+ * These are the bits of state from pipe_resource and pipe_sampler_state that
  * are computed in runtime.
  *
  * There are obtained through callbacks, as we don't want to tie the texture
@@ -130,7 +130,7 @@ struct lp_sampler_dynamic_state
  */
 void
 lp_sampler_static_state(struct lp_sampler_static_state *state,
-                        const struct pipe_texture *texture,
+                        const struct pipe_resource *texture,
                         const struct pipe_sampler_state *sampler);
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to