Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document WGSL specific features #5571

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

aleino-nv
Copy link
Collaborator

Add some initial documentation of how WGSL is targeted by Slang.

Issue #5567

@aleino-nv aleino-nv requested a review from a team as a code owner November 15, 2024 10:40
@aleino-nv aleino-nv added the pr: non-breaking PRs without breaking changes label Nov 15, 2024
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
docs/user-guide/a2-03-wgsl-target-specific.md Outdated Show resolved Hide resolved
@csyonghe csyonghe merged commit f98579d into shader-slang:master Nov 19, 2024
13 checks passed
Comment on lines +55 to +58
Supported HLSL features when targeting WGSL
-------------------------------------------

The following table lists Slang's support for various HLSL feature sets, when targeting WGSL.
Copy link
Collaborator

Choose a reason for hiding this comment

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

The mention of HLSL doesn't seem appropriate.
Maybe we can say it without using the word HLSL

Supported features when targeting WGSL

Or we can replace it with Slang

Supported Slang features when targeting WGSL

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

IMO, deferring to HLSL is useful if someone wants to read more about any given feature.
We haven't documented each of these feature sets ourselves, as far as I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants