Minor changes

This commit is contained in:
Jérôme Leclercq
2022-03-06 16:35:16 +01:00
parent 53728200ac
commit 4bded2182c
2 changed files with 14 additions and 14 deletions

View File

@@ -976,7 +976,7 @@ namespace Nz
return fieldOffsets.AddFieldArray(static_cast<StructFieldType>(UnderlyingCast(TypeToStructFieldType(type.componentType->type)) + type.componentCount), arrayLength);
}
std::size_t SpirvConstantCache::RegisterArrayField(FieldOffsets& fieldOffsets, const Void& type, std::size_t arrayLength) const
std::size_t SpirvConstantCache::RegisterArrayField(FieldOffsets& /*fieldOffsets*/, const Void& /*type*/, std::size_t /*arrayLength*/) const
{
throw std::runtime_error("unexpected Void");
}