Add support for runtime running on GPU without Compute Shaders support

This commit is contained in:
Wojtek Figat
2023-10-26 14:33:21 +02:00
parent bfaa292b04
commit 186e13b5e8
2 changed files with 12 additions and 1 deletions

View File

@@ -313,6 +313,8 @@ bool GPUDevice::Init()
_res->TasksManager.SetExecutor(CreateTasksExecutor());
LOG(Info, "Total graphics memory: {0}", Utilities::BytesToText(TotalGraphicsMemory));
if (!Limits.HasCompute)
LOG(Warning, "Compute Shaders are not supported");
return false;
}