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:
@@ -34,6 +34,7 @@
|
||||
#include "ParametersProcessor.h"
|
||||
|
||||
#include <GlslangToSpv.h>
|
||||
#include "glslang/Include/intermediate.h"
|
||||
|
||||
#include "sca/builtinResource.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user