From b4aa10c08952832a8ea70dca705b7fec056cf83c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 7 Jan 2022 14:19:53 +1000 Subject: [PATCH] glsl: avoid rebuilding builtin functions on mtypes.h changes. Restrict to when shader types or consts change Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/compiler/glsl/builtin_functions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp index 4b5c32647cd..5693bba6b94 100644 --- a/src/compiler/glsl/builtin_functions.cpp +++ b/src/compiler/glsl/builtin_functions.cpp @@ -75,7 +75,8 @@ #include #include -#include "main/mtypes.h" +#include "main/consts_exts.h" +#include "main/shader_types.h" #include "main/shaderobj.h" #include "ir_builder.h" #include "glsl_parser_extras.h"