chromium/third_party/angle/src/compiler/translator/tree_util/SpecializationConstant.cpp

//
// Copyright 2020 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.
//
// SpecializationConst.cpp: Add code to generate AST node for various specialization constants.
//

#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
{
// Specialization constant names
constexpr ImmutableString kSurfaceRotationSpecConstVarName =;
constexpr ImmutableString kDitherSpecConstVarName =;

const TType *MakeSpecConst(const TType &type, vk::SpecializationConstantId id)
{}
}  // anonymous namespace

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()
{}
}  // namespace sh