RTX Remix Shader Compatibility Testing
The repository includes a script to reproduce RTX Remix shader compilation issues locally.
Prerequisites
Build Slang in Debug first:
bash
cmake.exe --preset default cmake.exe --build --preset debug
Usage
bash
# Run RTX Remix shader compilation test ./extras/repro-remix.sh # Clean existing dxvk-remix clone and start fresh ./extras/repro-remix.sh --clean
What it does
- •Clones NVIDIA RTX Remix repository to
external/dxvk-remix/ - •Comments out Slang in packman config to prevent overwriting
- •Replaces with your Debug build
- •Compiles all RTX Remix shaders with SPIRV validation enabled
- •Verifies shader compilation output
When to use
- •When RTX Remix nightly CI workflow fails
- •To test Slang changes against a large real-world shader codebase
- •To reproduce shader compilation issues before fixing them
See extras/repro-remix.md for detailed documentation.
Interactive Workflow
- •Check if Slang is already built in Debug (
build/Debug/bin/slangcexists) - •If not, build it first
- •If
$ARGUMENTScontains--clean, pass--cleanto the script - •Run
./extras/repro-remix.shand monitor output for failures - •If failures occur, help the user analyze and fix them