llvmpipe: Compile a nop texture function for unsupported configurations
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Mon, 9 Oct 2023 14:16:22 +0000 (16:16 +0200)
committerKonstantin <konstantin.seurer@gmail.com>
Wed, 18 Oct 2023 07:14:30 +0000 (09:14 +0200)
commitf2ae21758fcfc70afcd566660b49e9a60f4f96c8
treeda09e8220aec8efbeb3050af2e5c4b4eb1e2f9a3
parent6e2bb716b0c7cbe6454cc0f472ff684d8770a51f
llvmpipe: Compile a nop texture function for unsupported configurations

Fixes a crash in Quake II RTX. Maybe the texture sample codegen will be
more robust in the future so we do not need to work around its
limitations here.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25617>
src/gallium/drivers/llvmpipe/lp_texture_handle.c