use standalone DescriptorSetType,ShaderDescriptor,ShaderStage

This commit is contained in:
2023-03-02 20:19:25 +08:00
parent f2d5209681
commit b4dccf7814
26 changed files with 139 additions and 217 deletions

View File

@@ -140,7 +140,7 @@ Semaphore *GPUDevice::CreateGPUSemaphore()
return(new Semaphore(attr->device,sem));
}
Queue *GPUDevice::CreateQueue(const uint32_t fence_count,const bool create_signaled)
DeviceQueue *GPUDevice::CreateQueue(const uint32_t fence_count,const bool create_signaled)
{
if(fence_count<=0)return(nullptr);
@@ -149,6 +149,6 @@ Queue *GPUDevice::CreateQueue(const uint32_t fence_count,const bool create_signa
for(uint32_t i=0;i<fence_count;i++)
fence_list[i]=CreateFence(create_signaled);
return(new Queue(attr->device,attr->graphics_queue,fence_list,fence_count));
return(new DeviceQueue(attr->device,attr->graphics_queue,fence_list,fence_count));
}
VK_NAMESPACE_END