Skip to content

Support variable-width shader model parsing for SM 6.10+#23

Merged
dzhdanNV merged 1 commit into
NVIDIA-RTX:mainfrom
nv-aallan:main
Apr 29, 2026
Merged

Support variable-width shader model parsing for SM 6.10+#23
dzhdanNV merged 1 commit into
NVIDIA-RTX:mainfrom
nv-aallan:main

Conversation

@nv-aallan
Copy link
Copy Markdown
Contributor

Parse shader model versions with variable-width components

Replace fixed 3-character / [0][2] digit shader model checks with
ParseShaderModelVersion, which accepts a single underscore separator and
decimal major/minor components of 1–4 digits each.

Use the parser in Options::Parse and ConfigLine::Parse so CLI and config-file
validation behave consistently. This is required for SM 6.10 and above, where
the old fixed-width parsing is insufficient.

Enable -enable-16bit-types on the DXC path for SM 6.2 and newer, update the
-m/--shaderModel help text, and keep the helper under the OPTIONS section.

…on: single underscore, decimal major/minor (1–4 digits each).
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@nv-aallan
Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@dzhdanNV dzhdanNV merged commit 58f394d into NVIDIA-RTX:main Apr 29, 2026
3 of 4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 29, 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.

2 participants