spvm icon indicating copy to clipboard operation
spvm copied to clipboard

64 bit support is part of GLSL.std.450

Open danilw opened this issue 2 years ago • 1 comments

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...

danilw avatar Sep 18 '22 12:09 danilw

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

keith2018 avatar Sep 19 '22 00:09 keith2018