shader-slang / slang-rhi

Slang Render Hardware Interface
Other
25 stars 7 forks source link

WebGPU error scopes #99

Open skallweitNV opened 2 weeks ago

skallweitNV commented 2 weeks ago

We should use error scopes around every call that creates a resource to capture any error and return SLANG_FAIL in that case.

Remove DeviceImpl::getAndClearLastError when we do this.