#include <GLSLANG/ShaderLang.h>
#include "common/debug.h"
#include "common/utilities.h"
namespace sh
{
namespace
{
InterpolationType GetNonAuxiliaryInterpolationType(InterpolationType interpolation)
{ … }
}
bool InterpolationTypesMatch(InterpolationType a, InterpolationType b)
{ … }
ShaderVariable::ShaderVariable() : … { … }
ShaderVariable::ShaderVariable(GLenum typeIn)
: … { … }
ShaderVariable::ShaderVariable(GLenum typeIn, unsigned int arraySizeIn) : … { … }
ShaderVariable::~ShaderVariable() { … }
ShaderVariable::ShaderVariable(const ShaderVariable &other)
: … { … }
ShaderVariable &ShaderVariable::operator=(const ShaderVariable &other)
{ … }
bool ShaderVariable::operator==(const ShaderVariable &other) const
{ … }
void ShaderVariable::setArraySize(unsigned int size)
{ … }
unsigned int ShaderVariable::getInnerArraySizeProduct() const
{ … }
unsigned int ShaderVariable::getArraySizeProduct() const
{ … }
void ShaderVariable::indexIntoArray(unsigned int arrayIndex)
{ … }
unsigned int ShaderVariable::getNestedArraySize(unsigned int arrayNestingIndex) const
{ … }
unsigned int ShaderVariable::getBasicTypeElementCount() const
{ … }
unsigned int ShaderVariable::getExternalSize() const
{ … }
bool ShaderVariable::findInfoByMappedName(const std::string &mappedFullName,
const ShaderVariable **leafVar,
std::string *originalFullName) const
{ … }
const sh::ShaderVariable *ShaderVariable::findField(const std::string &fullName,
uint32_t *fieldIndexOut) const
{ … }
bool ShaderVariable::isBuiltIn() const
{ … }
bool ShaderVariable::isEmulatedBuiltIn() const
{ … }
bool ShaderVariable::isSameVariableAtLinkTime(const ShaderVariable &other,
bool matchPrecision,
bool matchName) const
{ … }
void ShaderVariable::updateEffectiveLocation(const sh::ShaderVariable &parent)
{ … }
void ShaderVariable::resetEffectiveLocation()
{ … }
bool ShaderVariable::isSameUniformAtLinkTime(const ShaderVariable &other) const
{ … }
bool ShaderVariable::isSameInterfaceBlockFieldAtLinkTime(const ShaderVariable &other) const
{ … }
bool ShaderVariable::isSameVaryingAtLinkTime(const ShaderVariable &other) const
{ … }
bool ShaderVariable::isSameVaryingAtLinkTime(const ShaderVariable &other, int shaderVersion) const
{ … }
bool ShaderVariable::isSameNameAtLinkTime(const ShaderVariable &other) const
{ … }
InterfaceBlock::InterfaceBlock()
: … { … }
InterfaceBlock::~InterfaceBlock() { … }
InterfaceBlock::InterfaceBlock(const InterfaceBlock &other)
: … { … }
InterfaceBlock &InterfaceBlock::operator=(const InterfaceBlock &other)
{ … }
std::string InterfaceBlock::fieldPrefix() const
{ … }
std::string InterfaceBlock::fieldMappedPrefix() const
{ … }
bool InterfaceBlock::isSameInterfaceBlockAtLinkTime(const InterfaceBlock &other) const
{ … }
bool InterfaceBlock::isBuiltIn() const
{ … }
void WorkGroupSize::fill(int fillValue)
{ … }
void WorkGroupSize::setLocalSize(int localSizeX, int localSizeY, int localSizeZ)
{ … }
bool WorkGroupSize::isLocalSizeValid() const
{ … }
bool WorkGroupSize::isAnyValueSet() const
{ … }
bool WorkGroupSize::isDeclared() const
{ … }
bool WorkGroupSize::isWorkGroupSizeMatching(const WorkGroupSize &right) const
{ … }
int &WorkGroupSize::operator[](size_t index)
{ … }
int WorkGroupSize::operator[](size_t index) const
{ … }
size_t WorkGroupSize::size() const
{ … }
}