draw: introduce sampler num samples + stride members
authorDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2020 00:15:21 +0000 (10:15 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit026bf2659975817cb8fceb759eb80b2459df8c06
tree7b99a282a42b000813d6d10592f92551648d8a4a
parent609a3bea16b14cd5bbc59c702b91367ed768d629
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>
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_llvm.h
src/gallium/auxiliary/draw/draw_llvm_sample.c
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c
src/gallium/drivers/softpipe/sp_state_sampler.c
src/mesa/state_tracker/st_draw_feedback.c