chromium/third_party/angle/src/compiler/translator/Operator_autogen.h

// GENERATED FILE - DO NOT EDIT.
// Generated by gen_builtin_symbols.py using data from builtin_function_declarations.txt.
//
// Copyright 2021 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Operator_autogen.h:
//   Operators used by the high-level (parse tree) representation.

#ifndef COMPILER_TRANSLATOR_OPERATOR_AUTOGEN_H_
#define COMPILER_TRANSLATOR_OPERATOR_AUTOGEN_H_

#include <stdint.h>

namespace sh
{

enum TOperator : uint16_t
{};

// Returns the string corresponding to the operator in GLSL.  For built-in functions use the
// function name directly.
const char *GetOperatorString(TOperator op);

// Say whether or not a binary or unary operation changes the value of a variable.
bool IsAssignment(TOperator op);

namespace BuiltInGroup
{
static inline bool IsBuiltIn(TOperator op)
{}
static inline bool IsMath(TOperator op)
{}
static inline bool IsTextureOffsetNoBias(TOperator op)
{}
static inline bool IsTextureOffsetBias(TOperator op)
{}
static inline bool IsTextureGatherOffsetNoComp(TOperator op)
{}
static inline bool IsTextureGatherOffsetComp(TOperator op)
{}
static inline bool IsTextureGatherOffset(TOperator op)
{}
static inline bool IsTextureGatherOffsetsNoComp(TOperator op)
{}
static inline bool IsTextureGatherOffsetsComp(TOperator op)
{}
static inline bool IsTextureGatherOffsets(TOperator op)
{}
static inline bool IsTextureGather(TOperator op)
{}
static inline bool IsTexture(TOperator op)
{}
static inline bool IsDerivativesFS(TOperator op)
{}
static inline bool IsInterpolationFS(TOperator op)
{}
static inline bool IsAtomicCounter(TOperator op)
{}
static inline bool IsAtomicMemory(TOperator op)
{}
static inline bool IsImageStore(TOperator op)
{}
static inline bool IsImageLoad(TOperator op)
{}
static inline bool IsImageAtomic(TOperator op)
{}
static inline bool IsImage(TOperator op)
{}
static inline bool IsPixelLocalLoad(TOperator op)
{}
static inline bool IsPixelLocalStore(TOperator op)
{}
static inline bool IsPixelLocal(TOperator op)
{}
}  // namespace BuiltInGroup

}  // namespace sh

#endif  // COMPILER_TRANSLATOR_OPERATOR_AUTOGEN_H_