From 40541e5f2dd4228a7b39e5e189ac5d51fad86a6e Mon Sep 17 00:00:00 2001 From: Joshua Duong Date: Wed, 23 Mar 2022 11:13:48 -0700 Subject: ShaderTranslator: Use ST_HashFunction64 instead. This removes a dependency on GLSLANG/ShaderLang.h Bug: 225895450 Test: Compile libshadertranslator.dylib Change-Id: I38f2850e28e1bc99f4c3bd71417a47504ec9974a --- src/libShaderTranslator/ShaderTranslator.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libShaderTranslator/ShaderTranslator.h b/src/libShaderTranslator/ShaderTranslator.h index 7ab7c87e1d..4fa1b1cceb 100644 --- a/src/libShaderTranslator/ShaderTranslator.h +++ b/src/libShaderTranslator/ShaderTranslator.h @@ -1,5 +1,7 @@ #pragma once +#include + #if defined(_WIN32) # define ANGLE_EXPORT __declspec(dllexport) #elif defined(__GNUC__) @@ -430,7 +432,7 @@ struct ST_BuiltInResources // Name Hashing. // Set a 64 bit hash function to enable user-defined name hashing. // Default is NULL. - ShHashFunction64 HashFunction; + ST_HashFunction64 HashFunction; // The maximum complexity an expression can be when SH_LIMIT_EXPRESSION_COMPLEXITY is turned on. int MaxExpressionComplexity; -- cgit v1.2.3