Skip to content

Add CI coverage for Slang shader validation #2982

Open
krishnamanchikalapudi wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
krishnamanchikalapudi:fix-issue-2668
Open

Add CI coverage for Slang shader validation #2982
krishnamanchikalapudi wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
krishnamanchikalapudi:fix-issue-2668

Conversation

@krishnamanchikalapudi

Copy link
Copy Markdown
  1. GitHub Actions Workflow (.github/workflows/main.yml):
    • Enabled Slang validation via a new test_slang: ON matrix flag on the Linux GCC 14 Python 3.13 job.
    • Added a new Shader Validation Tests (Slang) build step that downloads the prebuilt slangc compiler release (v2026.10.2) and runs validation tests on standard surface examples and the stdlib test suite using generateshader.py.
  2. Shader Generator CLI Script (python/Scripts/generateshader.py):
    • Updated the module docstring and command-line parser --target help text to list Slang, ESSL, Vulkan, and WGSL as supported target generators.

Verification Plan

  • Validated that the new workflow successfully pulls and runs slangc to validate generated Slang files.
  • Confirmed that other targets (GLSL, MSL) are unaffected.

reference

krishnamanchikalapudi and others added 2 commits June 12, 2026 18:00
Slang shaders were generated in CI (--target slang) but never compiled,
unlike GLSL (Windows) and MSL (macOS) which run a real validator. Add a
Slang validation step that downloads the prebuilt slangc release and runs
generateshader.py with slangc as the --validator, gated behind a new
test_slang matrix flag on a Linux runner. Also update generateshader.py
docs to list all currently supported targets (incl. Slang).

Refs: AcademySoftwareFoundation#2668

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 17, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

@jstone-lucasfilm jstone-lucasfilm changed the title Fix issue 2668 Add CI coverage for Slang shader validation Jun 18, 2026
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