llvmpipe: add the interesting bit of cpu detection to the cache.
authorDave Airlie <airlied@redhat.com>
Sun, 23 May 2021 19:19:43 +0000 (05:19 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Jun 2021 01:46:36 +0000 (01:46 +0000)
commit9520b70f75d7a695966f36ff619557c88c25a0dc
treeeae1a39ecf0125e1bf8e2529313b5a379d4faf6a
parent74034635081950244ffa08794639f406a26663a0
llvmpipe: add the interesting bit of cpu detection to the cache.

This should detect if someone changes CPU configuration that matters like in a VM

Reviewed-by: Emma Anholt <emma@anholt.net>
Fixes: 6c0c61cb48e8 ("llvmpipe: add infrastructure for disk cache support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10946>
src/gallium/drivers/llvmpipe/lp_screen.c