#ifndef COMPILER_TRANSLATOR_OPERATOR_AUTOGEN_H_
#define COMPILER_TRANSLATOR_OPERATOR_AUTOGEN_H_
#include <stdint.h>
namespace sh
{
enum TOperator : uint16_t
{ … };
const char *GetOperatorString(TOperator op);
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)
{ … }
}
}
#endif