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

64 bit support is part of GLSL.std.450 #26

Open
danilw opened this issue Sep 18, 2022 · 1 comment
Open

64 bit support is part of GLSL.std.450 #26

danilw opened this issue Sep 18, 2022 · 1 comment
Labels

Comments

@danilw
Copy link
Contributor

danilw commented Sep 18, 2022

I think this should be todo to add 64 bit support.

Specifications that the project follows is:
GLSL.std.450

When:

Only support 32-bits width Numerical type (float, integer)

https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html

You can see there listed functions that support only 16-32 bit:
1

And when it says "component type is floating-point" - function support all float types:
2

Without 64 bit support it downgrade to GLES 3.3, but you use SPIRV so...

@keith2018
Copy link
Owner

Yes, 64-bit numerical type should be supported, there are instructions works only for 64-bit float such as PackDouble2x32, UnpackDouble2x32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants