You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there were a wgpu-hal backend that basically does nothing and returns Ok for every request. Even though buffer contents would never be right, and presentation would not happen, this would be useful for fuzzing and benchmarking wgpu-core.
The text was updated successfully, but these errors were encountered:
jimblandy
changed the title
wgpu-hal needs a no-op backend
wgpu-hal needs a no-op backend for fuzzing and benchmarking
Nov 6, 2024
The insight here is that the only time you can actually tell whether the GPU did anything at all is when you look at buffer contents. Many many tests don't even bother to do this. And it would be incredibly useful to have the option of cutting the driver and the GPU out of the picture when benchmarking and fuzzing.
It would be nice if there were a
wgpu-hal
backend that basically does nothing and returnsOk
for every request. Even though buffer contents would never be right, and presentation would not happen, this would be useful for fuzzing and benchmarkingwgpu-core
.The text was updated successfully, but these errors were encountered: