glsl: avoid rebuilding builtin functions on mtypes.h changes.

Restrict to when shader types or consts change

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437>
This commit is contained in:
Dave Airlie 2022-01-07 14:19:53 +10:00 committed by Marge Bot
parent 72123213ce
commit b4aa10c089

View file

@ -75,7 +75,8 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include "main/mtypes.h" #include "main/consts_exts.h"
#include "main/shader_types.h"
#include "main/shaderobj.h" #include "main/shaderobj.h"
#include "ir_builder.h" #include "ir_builder.h"
#include "glsl_parser_extras.h" #include "glsl_parser_extras.h"