[glsl-in] Implement default for options

This commit is contained in:
João Capucho
2021-06-19 21:50:42 +01:00
committed by Dzmitry Malyshau
parent 16d7c0e428
commit fd042e6f31

View File

@@ -19,6 +19,7 @@ mod token;
mod types;
mod variables;
#[derive(Default)]
pub struct Options {
pub entry_points: FastHashMap<String, ShaderStage>,
pub defines: FastHashMap<String, String>,