From 37698dcf13dd61a3baac496eebc6bfd151df352f Mon Sep 17 00:00:00 2001 From: Shahbaz Youssefi Date: Thu, 25 May 2023 14:57:21 -0400 Subject: [PATCH] Translator: Remove the "variables" entry from list of options This flag is unused. It is removed in a separate change to facilitate rolling ANGLE into Chromium and vice versa. Bug: chromium:1447314 Change-Id: I651f766e1c127f81c17ec46554bbdebd240f8c1c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4568525 Reviewed-by: Geoff Lang --- include/GLSLANG/ShaderLang.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/GLSLANG/ShaderLang.h b/include/GLSLANG/ShaderLang.h index bbea2c4d7..733723593 100644 --- a/include/GLSLANG/ShaderLang.h +++ b/include/GLSLANG/ShaderLang.h @@ -26,7 +26,7 @@ // Version number for shader translation API. // It is incremented every time the API changes. -#define ANGLE_SH_VERSION 330 +#define ANGLE_SH_VERSION 331 enum ShShaderSpec { @@ -147,8 +147,9 @@ struct ShCompileOptions // calling sh::GetObjectCode(). uint64_t objectCode : 1; - // Extracts attributes, uniforms, and varyings. Can be queried by calling ShGetVariableInfo(). - uint64_t variables : 1; + // Unused. Kept to avoid unnecessarily changing the layout of this structure and tripping up + // the fuzzer's hash->bug map. + uint64_t unused2 : 1; // Tracks the source path for shaders. Can be queried with getSourcePath(). uint64_t sourcePath : 1;