gfx-rs / gfx-extras

DEPRECATED: Extra libraries to help working with gfx-hal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fuzzy test gfx-memory

kvark opened this issue · comments

Blocked on gfx-rs/gfx#3278
We should have tests that just spam a whole ton of allocations with various randomized memory requirements.

Should this be implemented simply as #[test]s which use rand to generate random allocations, or should this be done using a framework like cargo-fuzz / afl.rs?

@GabrielMajeri Good question! I haven't used the fuzzers yet, but I'd love to see us trying them out. We'd definitely need to fuzz Naga, so might as well try them here. The answer is - up to the hero implementing this :)