From 72b8d26fcfcee36ca67f963b9c6a4b616e2d5d4d Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 12 Aug 2024 00:15:33 +1000 Subject: scale is a vec3 now instead of float. --- bindgen/rust/examples/shaders.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bindgen/rust/examples') diff --git a/bindgen/rust/examples/shaders.rs b/bindgen/rust/examples/shaders.rs index ad0b35f..0dede8f 100644 --- a/bindgen/rust/examples/shaders.rs +++ b/bindgen/rust/examples/shaders.rs @@ -6,6 +6,7 @@ use celeritas_sys::{ ShaderVisibility_VISIBILITY_FRAGMENT, ShaderVisibility_VISIBILITY_VERTEX, }; +#[allow(clippy::upper_case_acronyms)] #[repr(C)] struct MVP { model: Mat4, @@ -13,7 +14,7 @@ struct MVP { proj: Mat4, } -fn shader_vis_all() -> u32 { +pub fn shader_vis_all() -> u32 { ShaderVisibility_VISIBILITY_VERTEX | ShaderVisibility_VISIBILITY_FRAGMENT | ShaderVisibility_VISIBILITY_COMPUTE -- cgit v1.2.3-70-g09d2