spvm
spvm copied to clipboard
64 bit support is part of GLSL.std.450
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:
And when it says "component type is floating-point" - function support all float types:
Without 64 bit support it downgrade to GLES 3.3, but you use SPIRV so...
Yes, 64-bit numerical type should be supported, there are instructions works only for 64-bit float such as PackDouble2x32
, UnpackDouble2x32