diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-12 15:16:01 +0900 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-12 15:32:23 +0900 |
commit | d67e3487ac4c678892d0aea535cacfd5f1d86a27 (patch) | |
tree | 83dc2f5ac5711beac5d69e99a0057ac4ae582cdc /src/gallium/auxiliary/gallivm/lp_bld_sample.h | |
parent | cd70b6bd9ea8bfc4342f45340a1fedfaed81257f (diff) |
llvmpipe: Respect pipe_sampler_view::format.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index 94ebe0818a..8c1af95c50 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -39,6 +39,7 @@ #include "gallivm/lp_bld.h" struct pipe_resource; +struct pipe_sampler_view; struct pipe_sampler_state; struct util_format_description; struct lp_type; @@ -130,7 +131,7 @@ struct lp_sampler_dynamic_state */ void lp_sampler_static_state(struct lp_sampler_static_state *state, - const struct pipe_resource *texture, + const struct pipe_sampler_view *view, const struct pipe_sampler_state *sampler); |