llvmpipe: add num_samples/sample_stride support to jit textures
authorDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2020 00:22:49 +0000 (10:22 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit2e5cddacf7fb6e031540ae9f459d19cce5edefc4
tree32c675b065d24d428bc55f72abc8692055cea9cc
parentbc3641d6162c0e876351ee36536f44581260dac0
llvmpipe: add num_samples/sample_stride support to jit textures

This adds the support for num_samples/sample_stride retrieval to the
jit texture infrastructure.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
src/gallium/drivers/llvmpipe/lp_jit.c
src/gallium/drivers/llvmpipe/lp_jit.h
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_state_cs.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c
src/gallium/drivers/llvmpipe/lp_tex_sample.c