Skip to content

#3672 Fix shader compilation error - #5910

Merged
akleshchev merged 1 commit into
release/26.3from
andreyk/viewer_3672
Jun 9, 2026
Merged

#3672 Fix shader compilation error#5910
akleshchev merged 1 commit into
release/26.3from
andreyk/viewer_3672

Conversation

@akleshchev

Copy link
Copy Markdown
Contributor

Fix CASF.glsl's failure to compile on intel gpus.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a GLSL shader compilation issue in CASF.glsl (deferred shader path) that affects Intel GPUs by ensuring a sign-bit mask constant is treated as an unsigned integer.

Changes:

  • Add the u suffix to 0x80000000 in the [FIS] FLOAT INTEGER SORTABLE helper functions so the constant is unambiguously uint and avoids literal overflow / type-mismatch on stricter GLSL compilers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akleshchev akleshchev linked an issue Jun 9, 2026 that may be closed by this pull request
@akleshchev
akleshchev merged commit 9858207 into release/26.3 Jun 9, 2026
8 checks passed
@akleshchev
akleshchev deleted the andreyk/viewer_3672 branch June 9, 2026 19:23
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BugSplat Crash: ig9icd64

3 participants