Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
Prev Previous commit
Next Next commit
Use full scope import path
  • Loading branch information
expenses committed Sep 28, 2021
commit 3230c30b81050e52fd09a904d50505a8638a12da
2 changes: 1 addition & 1 deletion crates/spirv-std/src/arch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub unsafe fn read_clock_khr() -> u64 {
"%result = OpReadClockKHR typeof*{result} %scope",
"OpStore {result} %result",
result = in(reg) &mut result,
scope = const Scope::Subgroup as _,
scope = const crate::memory::Scope::Subgroup as _,
};

result
Expand Down