first step OK that it's to resumed to use L2W in VertexInputStream.
This commit is contained in:
@@ -47,11 +47,6 @@ const bool Material::hasSet(const DescriptorSetType &dst)const
|
||||
return desc_manager->hasSet(dst);
|
||||
}
|
||||
|
||||
const bool Material::hasAssign()const
|
||||
{
|
||||
return vertex_input->hasAssign();
|
||||
}
|
||||
|
||||
const VIL *Material::GetDefaultVIL()const
|
||||
{
|
||||
return vertex_input->GetDefaultVIL();
|
||||
|
@@ -45,4 +45,12 @@ void VKMemoryAllocator::Flush(const VkDeviceSize size)
|
||||
{
|
||||
gpu_buffer->Flush(size);
|
||||
}
|
||||
|
||||
bool VKMemoryAllocator::Write(const void *source,const uint64 offset,const uint64 size)
|
||||
{
|
||||
if(!source||size==0)
|
||||
return(false);
|
||||
|
||||
return gpu_buffer->Write(source,offset,size);
|
||||
}
|
||||
VK_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user