mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[spv-out] Quick tests for capability requests.
This commit is contained in:
@@ -1310,6 +1310,11 @@ impl Writer {
|
||||
self.logical_layout.in_words(words);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Return the set of capabilities the last module written used.
|
||||
pub fn get_capabilities_used(&self) -> &crate::FastHashSet<spirv::Capability> {
|
||||
&self.capabilities_used
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user