Open matthew-wong1 opened 2 months ago
The same panic (same line) also occurs if you create a query set and then destroy it (in a similar manner to the texture view above).
This might be fixed in recent wgpu (the rust crate) releases. After 2.0 I will take a look into doing an update of the crates and will see if this is then fixed. else if this is still present upstream, i'll see to it that this gets fixed
Hi!
The following WebGPU program panics when a destroyed texture is used in a render pass. I think the correct behaviour is to throw some sort of validation error instead.
I've tested this on v1.46.3 and 2.0.0-rc.5, and both versions produce the same error. I've only tested this on macOS.
Here is the WebGPU program:
This is how I ran the program:
And here is the backtrace: