gfx-rs / gfx-extras

DEPRECATED: Extra libraries to help working with gfx-hal
Mozilla Public License 2.0
21 stars 9 forks source link

Fuzzy test gfx-memory #19

Closed kvark closed 4 years ago

kvark commented 4 years ago

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

GabrielMajeri commented 4 years ago

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?

kvark commented 4 years ago

@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 :)