llvmpipe: bind sampler views/images properly.
authorDave Airlie <airlied@redhat.com>
Sun, 25 Sep 2022 22:44:56 +0000 (08:44 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 26 Sep 2022 00:28:34 +0000 (10:28 +1000)
commit16fd0c11c66b8b48c3835202fab77a0c50828c0b
tree354ddcddcd016abf345ff722061d9528e6fd2a77
parentb144d3e6a7e9a31c8b62e43035f15dab34932273
llvmpipe: bind sampler views/images properly.

There is some code that relies on TGSI here, and it has limits.
For now always just bind resources > 31.

Fixes
dEQP-VK.pipeline.pipeline_library.descriptor_limits*

Cc: mesa-stable
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18812>
src/gallium/drivers/llvmpipe/lp_state_cs.c
src/gallium/drivers/llvmpipe/lp_state_fs.c