Merge commit 'origin/7.8'
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_sample.h
index 92f3c57435a137a368d72dc457f99a99e2e5b4ef..fcbf084baf38e69e3c1e74ed081b3f2789abd8ce 100644 (file)
@@ -38,7 +38,7 @@
 
 #include "gallivm/lp_bld.h"
 
-struct pipe_texture;
+struct pipe_resource;
 struct pipe_sampler_state;
 struct util_format_description;
 struct lp_type;
@@ -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);