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

Design and document unorm/snorm functionality #262

Open
pow2clk opened this issue Jun 13, 2024 · 0 comments
Open

Design and document unorm/snorm functionality #262

pow2clk opened this issue Jun 13, 2024 · 0 comments
Labels
language-spec Issue with completed spec Theme:Consistency Issues related to HLSL not being consistent
Milestone

Comments

@pow2clk
Copy link
Member

pow2clk commented Jun 13, 2024

Is your feature request related to a problem? Please describe.

There are a number of issues that have cropped up related to unorm/snorm in DXC that we want to avoid by better design in the future.
 

Describe the solution you'd like
A specification that defines all the ways unorm and snorm can and can't be used and how they might behave differently from other float types. In particular how assignments between them can work and how they can be used with resources are areas that many of the above issues touch on.

Describe alternatives you've considered
I think it's important to note the pitfalls that have occurred before and have a task to address the issue at large to ensure it doesn't get overlooked rather than expecting we'll do it right when the time comes.

@damyanp damyanp added language-spec Issue with completed spec Theme:Consistency Issues related to HLSL not being consistent and removed needs-triage labels Aug 13, 2024
@damyanp damyanp modified the milestones: HLSL 202x, HLSL Spec Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language-spec Issue with completed spec Theme:Consistency Issues related to HLSL not being consistent
Projects
Status: Triaged
Development

No branches or pull requests

3 participants