flamz
06-01-2006, 11:26 AM
Hi,
I want to use unpack_2halfs in my GLSL fragment program to save some memory. My problem is that I need to do the packing on the CPU. I have no idea how to pack 2 16-bit half floats into a single 32bit float.
How does nVidia represent 16-bit floats? Any ideas?
I want to use unpack_2halfs in my GLSL fragment program to save some memory. My problem is that I need to do the packing on the CPU. I have no idea how to pack 2 16-bit half floats into a single 32bit float.
How does nVidia represent 16-bit floats? Any ideas?