vc4: pre-compile shaders to make up for the lack of draw calls in shader-db
authorEric Engestrom <eric@igalia.com>
Wed, 24 Aug 2022 08:28:09 +0000 (09:28 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Oct 2022 16:07:57 +0000 (16:07 +0000)
commitdaaced111a1eb7a728afe6318b79cb80a5a4ddd7
treed9c9c278362df48f3e18a53ff1e75b200d0579d4
parent11275ce2ee655ac1333b7e5b00db42c9cbb21e03
vc4: pre-compile shaders to make up for the lack of draw calls in shader-db

This means we don't have the variant keys, and need to make up one
variant and pre-compile it.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18599>
src/gallium/drivers/vc4/vc4_program.c