Allow non-snake-case for specialization constants (#799)

This commit is contained in:
tomaka 2017-09-04 13:16:17 +02:00 committed by GitHub
parent e2b63b8184
commit 883d0cb94e

View File

@ -107,6 +107,7 @@ pub fn write_specialization_constants(doc: &parse::Spirv) -> String {
format!(r#"
#[derive(Debug, Copy, Clone)]
#[allow(non_snake_case)]
#[repr(C)]
pub struct SpecializationConstants {{
{struct_def}