We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3e92e3 commit 3493041Copy full SHA for 3493041
1 file changed
Graphics/GraphicsEngineWebGPU/src/DeviceContextWebGPUImpl.cpp
@@ -413,7 +413,12 @@ void DeviceContextWebGPUImpl::MultiDraw(const MultiDrawAttribs& Attribs)
413
TDeviceContextBase::MultiDraw(Attribs, 0);
414
415
if (Attribs.NumInstances == 0)
416
+ {
417
+#ifdef DILIGENT_DEVELOPMENT
418
+ DvpValidateCommittedShaderResources();
419
+#endif
420
return;
421
+ }
422
423
WGPURenderPassEncoder wgpuRenderCmdEncoder = PrepareForDraw(Attribs.Flags);
424
for (Uint32 DrawIdx = 0; DrawIdx < Attribs.DrawCount; ++DrawIdx)
0 commit comments