diff --git a/librashader-runtime/src/lib.rs b/librashader-runtime/src/lib.rs index ae3eeae..4702df3 100644 --- a/librashader-runtime/src/lib.rs +++ b/librashader-runtime/src/lib.rs @@ -1,5 +1,3 @@ -#![allow(stable_features)] -#![feature(return_position_impl_trait_in_trait)] //! Helpers and shared logic for librashader runtime implementations. //! //! Most of this is only useful when _writing_ a librashader runtime implementations, diff --git a/librashader-runtime/src/uniforms.rs b/librashader-runtime/src/uniforms.rs index 26e04aa..9d1a5f1 100644 --- a/librashader-runtime/src/uniforms.rs +++ b/librashader-runtime/src/uniforms.rs @@ -8,11 +8,6 @@ impl UniformScalar for f32 {} impl UniformScalar for i32 {} impl UniformScalar for u32 {} -pub trait AsDerefable { - fn get_deref(&self) -> impl Deref; - fn get_deref_mut(&mut self) -> impl DerefMut; -} - /// A trait for a binder that binds the given value and context into the uniform for a shader pass. pub trait BindUniform { /// Bind the given value to the shader uniforms given the input context.