clspv icon indicating copy to clipboard operation
clspv copied to clipboard

Support double-precision floating point

Open kpet opened this issue 6 years ago • 2 comments

clspv generally doesn't have support for double-precision floating point. The following at least are missing:

  • [x] support double literals (see #157)
  • [x] support double constants
  • [ ] add support for double to the built-in functions
  • [ ] support double with operators and add tests
  • [ ] update the documentation
  • [ ] anything else?

kpet avatar Apr 02 '19 13:04 kpet

add support for double to the built-in functions

Do they need to be emulated? Currently some are mapped to ExtInsts (like here) which are not specified for fp64: https://www.khronos.org/registry/spir-v/specs/unified1/GLSL.std.450.html#_extended_instructions

Trass3r avatar Dec 15 '20 14:12 Trass3r