Skip to content

Commit 6e24a16

Browse files
committed
difftest: remove glam from workspace, use reeexport via spirv-std
1 parent c8895f2 commit 6e24a16

File tree

6 files changed

+2
-8
lines changed

6 files changed

+2
-8
lines changed

tests/difftests/tests/Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/difftests/tests/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ spirv-std = { path = "../../../crates/spirv-std", version = "=0.9.0" }
6868
difftest = { path = "lib" }
6969
difftest-types = { path = "../types" }
7070
# External dependencies that need to be mentioned more than once.
71-
num-traits = { version = "0.2.15", default-features = false }
72-
glam = { version = ">=0.30.8", default-features = false }
7371
bytemuck = { version = "1.23", features = ["derive"] }
7472

7573
# Enable incremental by default in release mode.

tests/difftests/tests/arch/vector_extract_insert/vector_extract_insert-rust/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ crate-type = ["dylib"]
1111
# GPU deps
1212
[dependencies]
1313
spirv-std.workspace = true
14-
glam.workspace = true
1514

1615
# CPU deps (for the test harness)
1716
[target.'cfg(not(target_arch = "spirv"))'.dependencies]

tests/difftests/tests/arch/vector_extract_insert/vector_extract_insert-rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![no_std]
22
#![cfg_attr(target_arch = "spirv", feature(asm_experimental_arch))]
33

4-
use glam::Vec4;
54
use spirv_std::arch::{vector_extract_dynamic, vector_insert_dynamic};
5+
use spirv_std::glam::Vec4;
66
use spirv_std::spirv;
77

88
#[spirv(compute(threads(64)))]

tests/difftests/tests/lang/core/ops/vector_swizzle/vector_swizzle-rust/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ crate-type = ["dylib"]
1111
# GPU deps
1212
[dependencies]
1313
spirv-std.workspace = true
14-
glam.workspace = true
1514

1615
# CPU deps (for the test harness)
1716
[target.'cfg(not(target_arch = "spirv"))'.dependencies]

tests/difftests/tests/lang/core/ops/vector_swizzle/vector_swizzle-rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![no_std]
22

3-
use glam::{Vec3Swizzles, Vec4, Vec4Swizzles};
3+
use spirv_std::glam::{Vec3Swizzles, Vec4, Vec4Swizzles};
44
use spirv_std::spirv;
55

66
#[spirv(compute(threads(64)))]

0 commit comments

Comments
 (0)