Rename ShaderVariableType/Descriptor to ShaderConstant

* These structs are no longer used with ShaderVariable so the name is misleading
  at best.
This commit is contained in:
baldurk
2020-12-04 10:42:45 +00:00
parent 659fdaa235
commit 580f96c8a1
17 changed files with 57 additions and 57 deletions
+2 -2
View File
@@ -832,7 +832,7 @@ QString BufferFormatter::DeclareStruct(QList<QString> &declaredStructs, const QS
if(members[i].type.descriptor.pointerTypeID != ~0U)
{
const ShaderVariableType &pointeeType =
const ShaderConstantType &pointeeType =
PointerTypeRegistry::GetTypeDescriptor(members[i].type.descriptor.pointerTypeID);
varTypeName = pointeeType.descriptor.name;
@@ -1240,7 +1240,7 @@ inline T readObj(const byte *&data, const byte *end, bool &ok)
return ret;
}
QVariantList GetVariants(ResourceFormat format, const ShaderVariableDescriptor &varDesc,
QVariantList GetVariants(ResourceFormat format, const ShaderConstantDescriptor &varDesc,
const byte *&data, const byte *end)
{
QVariantList ret;