aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2020-03-10 10:15:21 +1000
committerMarge Bot <[email protected]>2020-05-06 06:20:37 +0000
commit026bf2659975817cb8fceb759eb80b2459df8c06 (patch)
tree7b99a282a42b000813d6d10592f92551648d8a4a /src/mesa
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_draw_feedback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw_feedback.c b/src/mesa/state_tracker/st_draw_feedback.c
index 956439122a3..4216b84b032 100644
--- a/src/mesa/state_tracker/st_draw_feedback.c
+++ b/src/mesa/state_tracker/st_draw_feedback.c
@@ -370,7 +370,7 @@ st_feedback_draw_vbo(struct gl_context *ctx,
draw_set_mapped_texture(draw, PIPE_SHADER_VERTEX, i, width0,
res->height0, num_layers, first_level,
- last_level, (void*)base_addr, row_stride,
+ last_level, 0, 0, (void*)base_addr, row_stride,
img_stride, mip_offset);
}