diff options
author | Dave Airlie <airlied@redhat.com> | 2020-03-10 10:15:21 +1000 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-05-06 06:20:37 +0000 |
commit | 026bf2659975817cb8fceb759eb80b2459df8c06 (patch) | |
tree | 7b99a282a42b000813d6d10592f92551648d8a4a /src/gallium/drivers/i915 | |
parent | 609a3bea16b14cd5bbc59c702b91367ed768d629 (diff) |
draw: introduce sampler num samples + stride members
This adds the num samples + sampler stride into the texture mapping paths,
currently drivers just pass 0 for now.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r-- | src/gallium/drivers/i915/i915_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index 03d218e984e..f3c38ae3237 100644 --- a/src/gallium/drivers/i915/i915_state.c +++ b/src/gallium/drivers/i915/i915_state.c @@ -432,7 +432,7 @@ i915_prepare_vertex_sampling(struct i915_context *i915) i, tex->width0, tex->height0, tex->depth0, view->u.tex.first_level, tex->last_level, - addr, + 0, 0, addr, row_stride, img_stride, mip_offsets); } else i915->mapped_vs_tex[i] = NULL; |