glslang_sys/
lib.rs

1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4
5mod bindings;
6
7pub use bindings::*;
8
9impl crate::bindings::glslang_limits_s {
10    pub const fn default() -> Self {
11        crate::bindings::glslang_limits_t {
12            non_inductive_for_loops: true,
13            while_loops: true,
14            do_while_loops: true,
15            general_uniform_indexing: true,
16            general_attribute_matrix_vector_indexing: true,
17            general_varying_indexing: true,
18            general_sampler_indexing: true,
19            general_variable_indexing: true,
20            general_constant_matrix_vector_indexing: true,
21        }
22    }
23}
24
25impl Default for crate::bindings::glslang_limits_s {
26    fn default() -> Self {
27        crate::bindings::glslang_limits_s::default()
28    }
29}