diff options
author | Dave Airlie <[email protected]> | 2020-03-10 10:15:21 +1000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-06 06:20:37 +0000 |
commit | 026bf2659975817cb8fceb759eb80b2459df8c06 (patch) | |
tree | 7b99a282a42b000813d6d10592f92551648d8a4a /src/gallium/drivers/softpipe | |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_sampler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_sampler.c b/src/gallium/drivers/softpipe/sp_state_sampler.c index ec1572646a2..14e44d1de9f 100644 --- a/src/gallium/drivers/softpipe/sp_state_sampler.c +++ b/src/gallium/drivers/softpipe/sp_state_sampler.c @@ -264,7 +264,7 @@ prepare_shader_sampling( shader_type, i, width0, tex->height0, num_layers, - first_level, last_level, + first_level, last_level, 0, 0, addr, row_stride, img_stride, mip_offsets); } |