mesa/src
Icenowy Zheng 3522f0f24c llvmpipe: stub other functions inside compute shaders for ORCJIT
ORCJIT expects every functions prototypes to be present even when using
object caches. Code for adding stubs for entry point functions was added
previously when implementing shader cache for ORCJIT, but when using
OpenCL, extra functions could be present in compute shaders which need
stubs too.

Reuse the code for constructing references for extra functions to
generate function stubs for them.

This fixes function calls with Rusticl on llvmpipe with ORCJIT.

Fixes: bb0efdd4d8 ("llvmpipe: add shader cache support for ORCJIT implementation")
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41532>
2026-05-21 22:36:35 +00:00
..
amd radv: validate drirc option names at compile time 2026-05-21 14:26:28 +00:00
android_stub android_stub: purge unused log utils 2026-05-01 20:23:23 +00:00
asahi util: pass a struct to driParseConfigFiles() 2026-05-19 19:51:45 +00:00
broadcom Uprev Piglit to 6fd29fe44f8857b876a67bee962919635f22ecc8 2026-05-20 21:37:44 +00:00
c11
compiler compiler: Support more than 255 cols/rows in cmat descriptions 2026-05-21 21:47:03 +00:00
drm-shim drm-shim: fix shim on GLX 2026-04-14 12:06:10 +00:00
egl egl/dri2: require valid render fd before advertising EGL_WL_bind_wayland_display 2026-05-13 16:16:48 +00:00
etnaviv Uprev Piglit to 6fd29fe44f8857b876a67bee962919635f22ecc8 2026-05-20 21:37:44 +00:00
freedreno freedreno/common: Fix X2-90, add X2-85 2026-05-21 21:23:24 +00:00
gallium llvmpipe: stub other functions inside compute shaders for ORCJIT 2026-05-21 22:36:35 +00:00
gbm gbm: Replace VER_MIN with common MIN2 2026-04-30 13:00:03 +00:00
getopt
gfxstream gfxstream: remove android conditioning for sampler extensions 2026-05-19 23:40:54 +00:00
glx glx/windows: Drop static from driwindowsCreateScreen() 2026-05-18 13:33:35 +00:00
gtest
imagination util: pass a struct to driParseConfigFiles() 2026-05-19 19:51:45 +00:00
imgui imgui: update copy and port all tools using it 2026-04-30 10:59:45 +00:00
intel intel/compiler: Move bison command to shared meson.build 2026-05-21 22:15:00 +00:00
kosmickrisp kk: Support VK_KHR_unified_image_layouts 2026-05-21 09:59:38 +00:00
loader util: pass a struct to driParseConfigFiles() 2026-05-19 19:51:45 +00:00
mesa nir: remove ffma_old 2026-05-19 18:13:42 +00:00
microsoft util: pass a struct to driParseConfigFiles() 2026-05-19 19:51:45 +00:00
nouveau nak: optimize iadds with an uniform operand in iadds of address calculations 2026-05-20 17:23:33 +00:00
panfrost pan/bifrost: Make CSE independent of liveliness labels 2026-05-21 16:29:44 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool pps: Re-emit time clock_sync more regularly 2026-05-06 21:37:15 +00:00
util util: add very basic way to validate drirc files 2026-05-21 14:26:28 +00:00
virtio util: pass a struct to driParseConfigFiles() 2026-05-19 19:51:45 +00:00
vulkan vulkan,spirv: Update spec to 1.4.352 2026-05-20 15:36:39 +00:00
x11 meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
.clang-format intel: add Jay 2026-04-10 18:21:21 +00:00
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00