Open WangHoi opened 1 month ago
Personal reason suspect:
Outer command pass debug group commands, submitted with compute pass encoder open.
In WebGPU, you can have a debug group that either spans draw commands or compute commands. Debug groups that cover both draw and compute don't work.
The sample is three Debug group, one cover just Compute, two cover just Draw. No mixed debug spans.
Problem
Bug only happens in WebGPU backend, D3D11/12/Vulkan works.
WebGPU validation error:
Environment
Diligent Engine: newest master branch OS: Win11 24H2 Hardware: Ryzen AI9 370HX, RTX 4060 Laptop.
Sample to re-produce:
wgpu_dbgrp.zip
Simplified sample: a
DispatchCompute
, follows by twoDraw
.