Skip to content

spv-out: clamp unsigned textureLoad coordinates with unsigned ones - #4

Merged
luigi-rosso merged 1 commit into
rive/naga30from
fix/spv-unsigned-load-clamp
Nov 1, 2026
Merged

luigi-rosso merged 1 commit into
rive/naga30from
fix/spv-unsigned-load-clamp

Conversation

@luigi-rosso

Copy link
Copy Markdown

Valid SPIR-V for restricted textureLoad with unsigned coordinates.

  • Restrict clamps for u32 and vec2u coordinates now subtract an unsigned one, instead of an i32 one that spirv-val rejects
  • Snapshot covering 1d, 2d, 2d array and depth loads with unsigned coordinates

@luigi-rosso
luigi-rosso merged commit da4523a into rive/naga30 Nov 1, 2026
88 of 112 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant