#include "compiler/translator/tree_util/SpecializationConstant.h"
#include "common/PackedEnums.h"
#include "common/angleutils.h"
#include "compiler/translator/StaticType.h"
#include "compiler/translator/SymbolTable.h"
#include "compiler/translator/tree_util/IntermNode_util.h"
namespace sh
{
namespace
{
constexpr ImmutableString kSurfaceRotationSpecConstVarName = …;
constexpr ImmutableString kDitherSpecConstVarName = …;
const TType *MakeSpecConst(const TType &type, vk::SpecializationConstantId id)
{ … }
}
SpecConst::SpecConst(TSymbolTable *symbolTable,
const ShCompileOptions &compileOptions,
GLenum shaderType)
: … { … }
SpecConst::~SpecConst() { … }
void SpecConst::declareSpecConsts(TIntermBlock *root)
{ … }
TIntermSymbol *SpecConst::getRotation()
{ … }
TIntermTyped *SpecConst::getSwapXY()
{ … }
TIntermTyped *SpecConst::getDither()
{ … }
}