Skip to content

Commit

Permalink
Add atomic arch instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed May 3, 2021
1 parent 590d97d commit 1473e20
Show file tree
Hide file tree
Showing 20 changed files with 779 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/spirv-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ fn invoke_rustc(builder: &SpirvBuilder, multimodule: bool) -> Result<PathBuf, Sp
.unwrap_or_default();

let rustflags = format!(
"-Z codegen-backend={} -Zsymbol-mangling-version=v0{}",
"-Z codegen-backend={}{}",
rustc_codegen_spirv.display(),
llvm_args,
);
Expand Down
4 changes: 4 additions & 0 deletions crates/spirv-std/src/arch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ use crate::{scalar::Scalar, vector::Vector};

mod arithmetic;
#[cfg(feature = "const-generics")]
mod atomics;
#[cfg(feature = "const-generics")]
mod barrier;
mod derivative;
mod primitive;
mod ray_tracing;

pub use arithmetic::*;
#[cfg(feature = "const-generics")]
pub use atomics::*;
#[cfg(feature = "const-generics")]
pub use barrier::*;
pub use derivative::*;
pub use primitive::*;
Expand Down
Loading

0 comments on commit 1473e20

Please sign in to comment.