forked from Dynamitos/Seele
Fixing staging buffers not getting deleted
remove vgcore
This commit is contained in:
1 parent
d35f7acddc
commit
4c567b60f3
69 files changed
+505
-304
No files matched your search
@@ -51,7 +51,7 @@ void MaterialLoader::import(MaterialImportArgs args, PMaterialAsset asset)
|
||||
|
||||
uint32 uniformBufferOffset = 0;
|
||||
uint32 bindingCounter = 0; // Uniform buffers are always binding 0
|
||||
uint32 uniformBinding = -1;
|
||||
int32 uniformBinding = -1;
|
||||
Map<std::string, OShaderExpression> expressions;
|
||||
uint32 key = 0;
|
||||
uint32 auxKey = 0;
|
||||
@@ -205,7 +205,7 @@ void MaterialLoader::import(MaterialImportArgs args, PMaterialAsset asset)
|
||||
mat.profile = obj["profile"].get<std::string>();
|
||||
for(auto& val : obj["values"].items())
|
||||
{
|
||||
mat.variables[val.key()] = val.value();
|
||||
mat.variables[val.key()] = referenceExpression(val.value());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user