llvmpipe: handle sampling from 2d views of 3d images
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 24 Mar 2022 13:04:14 +0000 (09:04 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 30 Mar 2022 03:18:52 +0000 (03:18 +0000)
commitfe7c3eba335db0d510364281bc2875a9171796ac
tree5326b949e391d68c3623bdb9ec2eafd53694a495
parentd415c28e64dd5f281067130b39e5e6b22bc2e963
llvmpipe: handle sampling from 2d views of 3d images

this is seldom used but is required by KHR_gl_texture_3D_image

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15583>
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_state_cs.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c