Hash :
8b869a95
Author :
Date :
2021-06-13T01:09:27
Translator: Generate Ops for all built-in functions EOpCallBuiltInFunction is removed in this change, as well as the "op": "auto" property in builtin_function_declarations.txt. Instead, gen_builtin_symbols.py automatically generates Ops for every built-in function and generates the TOperator enum accordingly. This simplifies SPIR-V code generation by allowing switches to be used on operators instead of string comparisons. Bug: angleproject:4589 Bug: angleproject:4889 Change-Id: Ia351524400b0e12a10a5572e27e9b88c6ec2e61c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2958869 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Jonah Ryan-Davis <jonahr@google.com> Reviewed-by: Tim Van Patten <timvp@google.com>
{
"src/compiler/translator/ImmutableString_ESSL_autogen.cpp":
"a748e3105c8c85e2b4e1584a79404bd9",
"src/compiler/translator/ImmutableString_autogen.cpp":
"e2ba7f03d436642b4e420442042cd09b",
"src/compiler/translator/Operator_autogen.h":
"ac52a4d3804c63ba14dde9c7f53d0460",
"src/compiler/translator/SymbolTable_ESSL_autogen.cpp":
"3fc55a91b8f90162a41cb5f5ecc83347",
"src/compiler/translator/SymbolTable_autogen.cpp":
"08e60b9de4a3bb5b491c11c014b3635b",
"src/compiler/translator/SymbolTable_autogen.h":
"d43593050c4d1b31b0be9cdd3a2d0ea5",
"src/compiler/translator/builtin_function_declarations.txt":
"532f4ee284a113433fef303e38193334",
"src/compiler/translator/builtin_variables.json":
"0663a24c595b9221f44e3776337dec56",
"src/compiler/translator/gen_builtin_symbols.py":
"e0ed1f669f4e1c8fc3b1b7e9b40dbae4",
"src/compiler/translator/tree_util/BuiltIn_ESSL_autogen.h":
"62d779e93a9908279d97bddf4f6f163d",
"src/compiler/translator/tree_util/BuiltIn_complete_autogen.h":
"a93778687b24c0920990d68301253374",
"src/tests/compiler_tests/ImmutableString_test_ESSL_autogen.cpp":
"5c8ac4ebc3234c51f37fdb5fb4480c33",
"src/tests/compiler_tests/ImmutableString_test_autogen.cpp":
"54d439c54c4f9da58407af472c8c4a1d"
}