llvmpipe/draw: drop variant number from function names.
authorDave Airlie <airlied@redhat.com>
Thu, 14 May 2020 23:59:34 +0000 (09:59 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 20:05:40 +0000 (06:05 +1000)
commitd815d74f75aa3a70e4c2d3859cf0cd76d0f2f9d8
treec9bb012fb9531ceafbe3bd69d5b6baea8356652f
parente639e311a1a7dfcf04dd14f3d07f5d10b14eded0
llvmpipe/draw: drop variant number from function names.

When we use an object cache for the MCJIT we can have identical
cache entries from the same shader variant in different shaders,
but the JIT objcache uses the function name to relink things,
so it has to be consistent. Just drop the variants from the
function names.

Note the modules still have the variant info.

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