name(other.name),
mappedName(other.mappedName),
arraySize(other.arraySize),
- staticUse(other.staticUse)
+ staticUse(other.staticUse),
+ fields(other.fields),
+ structName(other.structName)
{}
ShaderVariable &ShaderVariable::operator=(const ShaderVariable &other)
mappedName = other.mappedName;
arraySize = other.arraySize;
staticUse = other.staticUse;
+ fields = other.fields;
+ structName = other.structName;
return *this;
}
{}
Uniform::Uniform(const Uniform &other)
- : ShaderVariable(other),
- fields(other.fields)
+ : ShaderVariable(other)
{}
Uniform &Uniform::operator=(const Uniform &other)
{
ShaderVariable::operator=(other);
- fields = other.fields;
return *this;
}
}
InterfaceBlockField::InterfaceBlockField()
- : isRowMajorMatrix(false)
+ : isRowMajorLayout(false)
{}
InterfaceBlockField::~InterfaceBlockField()
InterfaceBlockField::InterfaceBlockField(const InterfaceBlockField &other)
: ShaderVariable(other),
- isRowMajorMatrix(other.isRowMajorMatrix),
- fields(other.fields)
+ isRowMajorLayout(other.isRowMajorLayout)
{}
InterfaceBlockField &InterfaceBlockField::operator=(const InterfaceBlockField &other)
{
ShaderVariable::operator=(other);
- isRowMajorMatrix = other.isRowMajorMatrix;
- fields = other.fields;
+ isRowMajorLayout = other.isRowMajorLayout;
return *this;
}
Varying::Varying()
- : interpolation(INTERPOLATION_SMOOTH)
+ : interpolation(INTERPOLATION_SMOOTH),
+ isInvariant(false)
{}
Varying::~Varying()
Varying::Varying(const Varying &other)
: ShaderVariable(other),
interpolation(other.interpolation),
- fields(other.fields),
- structName(other.structName)
+ isInvariant(other.isInvariant)
{}
Varying &Varying::operator=(const Varying &other)
{
ShaderVariable::operator=(other);
interpolation = other.interpolation;
- fields = other.fields;
- structName = other.structName;
+ isInvariant = other.isInvariant;
return *this;
}
InterfaceBlock::InterfaceBlock(const InterfaceBlock &other)
: name(other.name),
mappedName(other.mappedName),
+ instanceName(other.instanceName),
arraySize(other.arraySize),
layout(other.layout),
isRowMajorLayout(other.isRowMajorLayout),
{
name = other.name;
mappedName = other.mappedName;
+ instanceName = other.instanceName;
arraySize = other.arraySize;
layout = other.layout;
isRowMajorLayout = other.isRowMajorLayout;