summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-03-10 10:15:21 +1000
committerMarge Bot <eric+marge@anholt.net>2020-05-06 06:20:37 +0000
commit026bf2659975817cb8fceb759eb80b2459df8c06 (patch)
tree7b99a282a42b000813d6d10592f92551648d8a4a /src/gallium/drivers/i915
parent609a3bea16b14cd5bbc59c702b91367ed768d629 (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.c2
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;