From bd1687896395fb8d59a3903303ef3e57f0e57348 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 4 Aug 2024 10:59:34 +1000 Subject: rust bindings compile again --- bindgen/rust/examples/shaders.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindgen/rust/examples') diff --git a/bindgen/rust/examples/shaders.rs b/bindgen/rust/examples/shaders.rs index 09f13b4..ad0b35f 100644 --- a/bindgen/rust/examples/shaders.rs +++ b/bindgen/rust/examples/shaders.rs @@ -2,7 +2,7 @@ use celeritas::ral::{ ShaderBinding, ShaderBindingKind, ShaderData, ShaderDataLayout, ShaderVisibility, }; use celeritas_sys::{ - GPU_EncodeBindShaderDataRaw, GPU_GetDefaultEncoder, Mat4, ShaderVisibility_VISIBILITY_COMPUTE, + GPU_EncodeBindShaderData, GPU_GetDefaultEncoder, Mat4, ShaderVisibility_VISIBILITY_COMPUTE, ShaderVisibility_VISIBILITY_FRAGMENT, ShaderVisibility_VISIBILITY_VERTEX, }; @@ -42,7 +42,7 @@ impl ShaderData for MVP { }; unsafe { - GPU_EncodeBindShaderDataRaw(GPU_GetDefaultEncoder(), 0, layout.into_ffi_type()); + GPU_EncodeBindShaderData(GPU_GetDefaultEncoder(), 0, layout.into_ffi_type()); } } } -- cgit v1.2.3-70-g09d2