jit.gl.pix float64 precision?
Is there a way to force jit.gl.pix to work with float64 instead of float32?
Like jit.pix @precision float64
@type float64
But maybe you want to set that attribute beforehand, on whatever object you use to feed your jit.gl.pix.
According to jit.gl.pix Reference, float64 is not in the possible values of @type:
@type [symbol]
The output texture data type (default = auto). When type is auto the type is set by the input texture or matrix type. Possible values:
'auto' ( Adapt to input data type )
'char' ( 8bit unsigned byte )
'long' ( 32bit integer )
'half' ( 16bit float )
'float' ( 32bit float )
'float16' ( 16bit float )
'float32' ( 32bit float )
Oh my bad you're right!
This said, according to the openGL doc, double (other name for float64) precision is only available since OpenGL 4.0, while Max is based on 3.
Okay.... Too bad.
Thanks