meson: only build glsl when needed

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19600>
This commit is contained in:
Eric Engestrom
2023-01-17 17:58:33 +00:00
committed by Marge Bot
parent e0adef2652
commit 1fa68d91c6

View File

@@ -94,5 +94,7 @@ endif
if with_clc
subdir('clc')
endif
subdir('glsl')
if with_gallium
subdir('glsl')
endif
subdir('isaspec')