moot
moot
DDeno
Created by moot on 7/22/2024 in #help
Enabling labels to show up in error messages (WebGPU)
Hi! I was wondering if there is a way to enable validation error messages to include the label attribute of a WebGPU object. For example: I might get the error message Device::create_texture error: Texture descriptor mip level count 10 is invalid, maximum allowed is 8. I think it would be helpful if it indicated the label that was included in the TextureDescriptor when creating the texture.
3 replies
DDeno
Created by moot on 7/11/2024 in #help
Is there a way to use a custom wgpu build with Deno?
Hi! I'm new to Deno (and Rust) and I couldn't find much about this online - sorry if this might be a basic question. I'm doing a uni project to fuzz test different WebGPU API implementations. I'm randomly generating WebGPU API calls and then passing them to a WebGPU implementation compiled with sanitizers (such as address-sanitizer), then seeing if any memory violations occur. I've done this with Google's Dawn (https://dawn.googlesource.com/dawn/+/refs/heads/chromium/4959/src/dawn/node/) and NodeJS but as I understand, Deno ships with wgpu built in. Is there any way to swap out the underlying WebGPU implementation that is called to a wgpu that has been built with sanitizers? Thanks so much!
2 replies