Add missing include for latest glslang (#7365)

This change in glslang removes the include of "intermediate.h" from
GlslangToSpv.h:
62de186c33

As a result, the definition of "class TIntermediate" is removed, and
will fail compilation of MaterialCompiler.cpp when glslang is updated to
a version including the aforementioned change. We fix this by adding an
explicit include to this header in MaterialCompiler.cpp.

Co-authored-by: Powei Feng <powei@google.com>
This commit is contained in:
Antonio Maiorano
2023-11-14 18:23:39 -05:00
committed by GitHub
parent 766e4f2ec9
commit eebb40d30d

View File

@@ -34,6 +34,7 @@
#include "ParametersProcessor.h"
#include <GlslangToSpv.h>
#include "glslang/Include/intermediate.h"
#include "sca/builtinResource.h"