Skip to content

Commit 4600f0c

Browse files
committed
Fix docs after bitflags update
1 parent 99abecb commit 4600f0c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

crates/spirv-std/src/memory.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ bitflags::bitflags! {
3030
/// Memory semantics to determine how some operations should function - used when calling such
3131
/// configurable operations.
3232
#[repr(transparent)]
33+
#[derive(Copy, Clone)]
3334
#[cfg_attr(feature = "bytemuck", derive(bytemuck::Zeroable, bytemuck::Pod))]
3435
pub struct Semantics: u32 {
3536
/// No memory semantics.

crates/spirv-std/src/ray_tracing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ bitflags::bitflags! {
149149
/// `CULL_BACK_FACING_TRIANGLES` and `CULL_FRONT_FACING_TRIANGLES` may
150150
/// be set.
151151
#[repr(transparent)]
152+
#[derive(Copy, Clone)]
152153
#[cfg_attr(feature = "bytemuck", derive(bytemuck::Zeroable, bytemuck::Pod))]
153154
pub struct RayFlags: u32 {
154155
/// No flags specified.

0 commit comments

Comments
 (0)