diff --git a/crates/bevy_render/macros/src/as_bind_group.rs b/crates/bevy_render/macros/src/as_bind_group.rs index 489c0c4bb1d6c..96176e071ca6c 100644 --- a/crates/bevy_render/macros/src/as_bind_group.rs +++ b/crates/bevy_render/macros/src/as_bind_group.rs @@ -483,7 +483,7 @@ pub fn derive_as_bind_group(ast: syn::DeriveInput) -> Result { #render_path::render_resource::OwnedBindingResource::Buffer(render_device.create_buffer_with_data( &#render_path::render_resource::BufferInitDescriptor { label: None, - usage: #render_path::render_resource::BufferUsages::COPY_DST | #uniform_buffer_usages, + usage: #uniform_buffer_usages, contents: buffer.as_ref(), }, )) @@ -529,7 +529,7 @@ pub fn derive_as_bind_group(ast: syn::DeriveInput) -> Result { #render_path::render_resource::OwnedBindingResource::Buffer(render_device.create_buffer_with_data( &#render_path::render_resource::BufferInitDescriptor { label: None, - usage: #render_path::render_resource::BufferUsages::COPY_DST | #uniform_buffer_usages, + usage: #uniform_buffer_usages, contents: buffer.as_ref(), }, ))