Skip to content

SDSL rewrite#3134

Open
xen2 wants to merge 1099 commits intostride3d:masterfrom
xen2:sdsl-rewrite
Open

SDSL rewrite#3134
xen2 wants to merge 1099 commits intostride3d:masterfrom
xen2:sdsl-rewrite

Conversation

@xen2
Copy link
Copy Markdown
Member

@xen2 xen2 commented Apr 14, 2026

PR Details

WIP (created as non-draft for CI testing)

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

xen2 added 30 commits February 16, 2026 11:28
…6c00fd9'

git-subtree-dir: sources/shaders
git-subtree-mainline: 74399a3
git-subtree-split: ea933b4
…e. input[2] * 0.5f (typically used in tessellation stage)
xen2 added 3 commits April 16, 2026 15:08
- Gold fallback prefers SW renderer when source is SW
- Gold dropdown options colored green/red based on threshold check
- Add fixable detection: hint when alternate gold would pass
- Add Select Fixable button and Delete Gold action
- Add /api/gold/delete endpoint
- Kill previous instance via compare-gold.cmd before rebuild
xen2 added 2 commits April 16, 2026 15:11
Remove the 2047/2048 f16 clamp that capped HDR values on all
platforms. Replaced with a denominator > 0 NaN guard in the
decompressor to handle the edge case where maxComponent rounds
to 1.0 in f16 (e.g. on SwiftShader).
The lazy inner double-check in ShaderLoaderBase.LoadExternalBuffer
skipped ValidateCachedHashes, so when the outer check detected a
source hash mismatch and fell through, the inner check would hit
the same (memory-cached) stale entry and return it unchanged. Now
the inner check also validates hashes.
@xen2 xen2 force-pushed the sdsl-rewrite branch 4 times, most recently from 93cbc2c to 8235d1b Compare April 16, 2026 07:17
Reproducible Windows x64 build of Mesa's spirv_to_dxil library.
Workflow produces an artifact that can be downloaded and checked in
to sources/shaders/Stride.Shaders.Compilers/native/.

Minimal Meson config (no LLVM, no Vulkan drivers, no Gallium) —
only builds the spirv_to_dxil target.
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.

2 participants