• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitshifter / glam-rs / 37427032016
99%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 07:01AM UTC
Jobs 4
Files 154
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Oct 2026 07:00AM UTC coverage: 99.027% (-0.04%) from 99.062%
37427032016

push

github

web-flow
fix(rust-gpu): remove Vec3A special casing (#898)

Related rust-gpu PRs: https://github.com/Rust-GPU/rust-gpu/pull/660
https://github.com/Rust-GPU/rust-gpu/pull/661

# Objective

**Main change: don't special case `Vec3A` as a rust-gpu SPIR-V vector**
* changes it's SPIR-V representation from `OpTypeVector %f32 3` to
`OpTypeStruct %f32 %f32 %f32 %f32`
* this makes `Vec3A` incompatible with certain SPIR-V intrinsics 
* rust-gpu removes it's `unsafe impl Vector for Vec3A` to disallow it's
use
* Migration: use `Vec3` instead and convert back and forward with
`Vec3::to_vec3a()` and `Vec3A::to_vec3()`
* as it's no longer special cased, glam can add back the `_w: f32`
member and derive `Pod` and such
* so we can revert the hack from
https://github.com/bitshifter/glam-rs/pull/861
  
Best reviewed commit by commit, as the first commit is just a revert
(that needed a little manual conflict resolution) and the second commit
is the actual 3 line change.

**I would like this change to be released as a minor patch like
v0.34.1**. Upgrading from 0.34.0 to 0.34.1 is *technically* a breaking
change for any rust-gpu user, but rust-gpu doesn't support glam 0.34.0
yet. So when I do add support for 0.34, I can just require at least
version 0.34.1 to mitigate it.

To prevent future breakages: Changing the members of a struct annotated
with `#[rust_gpu::vector::v1]` is considered a breaking change for
rust-gpu, even if they're just private. When I added those annotations,
I assumed that'll basically never happen, but
https://github.com/bitshifter/glam-rs/pull/786 changed `Vec3A` to have a
private `_w: f32` member.

## Checklist

- [ ] `cargo run -p ci` passes.
- [ ] PR title follows [Conventional
Commits](CONTRIBUTING.md#pull-request-titles); mark breaking changes
with `!`.

1 of 1 new or added line in 1 file covered. (100.0%)

95 existing lines in 22 files now uncovered.

91741 of 92642 relevant lines covered (99.03%)

118725.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
94.33
-2.52% src/f32/sse2/quat.rs
9
97.25
-1.38% src/f32/coresimd/mat3a.rs
8
99.01
-0.62% src/f32/neon/mat4.rs
6
98.87
-0.68% src/f32/sse2/vec3a.rs
6
98.81
-0.71% src/f32/sse2/vec4.rs
3
95.95
-2.03% src/bool/coresimd/bvec4a.rs
3
98.1
-1.9% src/bool/scalar/bvec4a.rs
3
97.87
-2.13% src/bool/sse2/bvec3a.rs
3
98.58
-0.35% src/f32/coresimd/vec3a.rs
3
97.99
-0.5% src/f32/mat3.rs
3
94.74
-3.95% src/f32/math.rs
3
98.76
-0.34% src/f32/neon/vec3a.rs
3
98.32
-0.36% src/f32/neon/vec4.rs
3
99.59
0.69% src/f32/scalar/mat4.rs
3
98.41
-0.32% src/f32/scalar/vec4.rs
3
98.02
-0.74% src/f32/sse2/mat2.rs
3
98.04
-0.49% src/f32/sse2/mat3a.rs
3
99.43
-0.34% src/f32/vec3.rs
3
94.44
-5.56% src/f64/math.rs
3
98.3
-0.24% src/i32/ivec3.rs
3
99.28
-0.27% src/i8/i8vec2.rs
3
99.12
-0.2% src/usize/usizevec4.rs
Jobs
ID Job ID Ran Files Coverage
1 native_simd-macos-latest - 37427032016.1 06 Oct 2026 07:02AM UTC 122
98.9
GitHub Action Run
2 native_simd-ubuntu-latest - 37427032016.2 06 Oct 2026 07:01AM UTC 122
98.9
GitHub Action Run
3 scalar_math-ubuntu-latest - 37427032016.3 06 Oct 2026 07:02AM UTC 121
98.93
GitHub Action Run
4 core_simd-ubuntu-latest - 37427032016.4 06 Oct 2026 07:02AM UTC 121
98.91
GitHub Action Run
Source Files on build 37427032016
  • Tree
  • List 154
  • Changed 71
  • Source Changed 3
  • Coverage Changed 71
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37427032016
  • cae99b1a on github
  • Prev Build on main (#37183420227)
  • Next Build on main (#37435162467)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc