harness: the new runtime reports every gauge, so @drop covers every kind of resource
The new runtime's Gauges gained command buffers and events (and holds textures, samplers, pipelines and descriptor slots); the harness named only buffers and blocks. It now prints them all, so the matrix's @drop and @100/@200 checks cover each kind as the runtime grows.
This commit is contained in:
1 parent
4c368dbda5
commit
8698bf72bf
1 file changed
+12
-2
@@ -248,9 +248,19 @@ impl crate::Device for Device {
|
||||
}
|
||||
}
|
||||
|
||||
/// The gauges the harness reports, by name.
|
||||
/// The gauges the harness reports, by name: all of them, so the matrix's `@drop` check covers
|
||||
/// every kind of resource.
|
||||
fn named(gauges: rt::Gauges) -> Vec<(&'static str, u64)> {
|
||||
vec![("buffers", gauges.buffers), ("blocks", gauges.blocks)]
|
||||
vec![
|
||||
("buffers", gauges.buffers),
|
||||
("textures", gauges.textures),
|
||||
("samplers", gauges.samplers),
|
||||
("pipelines", gauges.pipelines),
|
||||
("command_buffers", gauges.command_buffers),
|
||||
("descriptor_slots", gauges.descriptor_slots),
|
||||
("blocks", gauges.blocks),
|
||||
("events", gauges.events),
|
||||
]
|
||||
}
|
||||
|
||||
impl crate::Buffer for Buffer {
|
||||
|
||||
Reference in new issue
Block a user