Validate image queries and valid shader stages for derivatives

This commit is contained in:
Dzmitry Malyshau authored and Dzmitry Malyshau committed 2021-03-24 12:32:32 -04:00
1 parent ee43776c08
commit 7a246f6a14
8 files changed
+127 -29

No files matched your search

+11
View File
@@ -32,6 +32,17 @@ bitflags::bitflags! {
}
}
bitflags::bitflags! {
/// Validation flags.
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "deserialize", derive(serde::Deserialize))]
pub struct ShaderStages: u8 {
const VERTEX = 0x1;
const FRAGMENT = 0x2;
const COMPUTE = 0x4;
}
}
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "deserialize", derive(serde::Deserialize))]
pub struct ModuleInfo {