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

Ulong Support? #133

Open
S41L0R opened this issue Jul 31, 2021 · 2 comments
Open

Ulong Support? #133

S41L0R opened this issue Jul 31, 2021 · 2 comments
Labels
proposal 💡 A proposal for a new feature untriaged 🧰 A new issue that needs initial triage

Comments

@S41L0R
Copy link

S41L0R commented Jul 31, 2021

Rationale

It's pretty self-explanatory. Ulongs (and also longs, for that matter) simply should be usable. The more primitives available, the better.

Proposed API

Same way as other primitives.

@S41L0R S41L0R added proposal 💡 A proposal for a new feature untriaged 🧰 A new issue that needs initial triage labels Jul 31, 2021
@paulbartrum
Copy link

Looks like int64_t operations are supported in shader model 6.0 and higher. See https://github.com/microsoft/DirectXShaderCompiler/wiki/Shader-Model-6.0

There's a caps bit here (Int64ShaderOps) to check for support:
https://docs.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_feature_data_d3d12_options1

I couldn't find any documentation on what the exact limitations are, or exactly what "memory operations" means, but I guess it refers to int64_t support in constant/structured buffers and group shared memory.

@S41L0R
Copy link
Author

S41L0R commented Sep 7, 2021

hm

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

2 participants