mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 00:04:15 +00:00
Allow non-snake-case for specialization constants (#799)
This commit is contained in:
parent
e2b63b8184
commit
883d0cb94e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user