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

16 Bit Scalar Types soon? #882

Open
ha-ves opened this issue Dec 5, 2024 · 0 comments
Open

16 Bit Scalar Types soon? #882

ha-ves opened this issue Dec 5, 2024 · 0 comments
Labels
proposal 💡 A proposal for a new feature untriaged 🧰 A new issue that needs initial triage

Comments

@ha-ves
Copy link

ha-ves commented Dec 5, 2024

Description (optional)

Quoting from DirectXCompiler 16 Bit Scalar Types

Starting with Shader Model 6.2, we are introducing true 16-bit scalar types with option /enable-16bit-types. If this mode is enabled, every min precision type is disabled and implicitly converted to its full scalar types.

Rationale

Using 16-bit precision types will tremendously make some usage more efficient.

Proposed API

HLSL 16-Bit Scalar Types

Drawbacks

As I see it there are only "standard types" being mapped to HLSL types, not the min-types, there seem to be minimal drawbacks.

Alternatives

Branch off into different Shader Models to use.

Other thoughts

Not Sure.

@ha-ves ha-ves added proposal 💡 A proposal for a new feature untriaged 🧰 A new issue that needs initial triage labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal 💡 A proposal for a new feature untriaged 🧰 A new issue that needs initial triage
Projects
None yet
Development

No branches or pull requests

1 participant