llvmpipe/draw: wire up indirect offset
authorDave Airlie <airlied@redhat.com>
Mon, 15 Jun 2020 07:21:27 +0000 (17:21 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 04:12:17 +0000 (04:12 +0000)
commitd243655d34025f85328a1091ac0e9ef2576bfc93
treedcba57a432f6ace0459a677e5b383c918b05b11f
parent3b973eab73f1e49c5953cfe2c39236a64b8c7610
llvmpipe/draw: wire up indirect offset

This bounds checks and adds to the llvm index.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3778>
src/gallium/auxiliary/draw/draw_llvm_sample.c
src/gallium/drivers/llvmpipe/lp_tex_sample.c