unpacking 2 half from a float in CG

Started by
-1 comments, last by mizar77 18 years, 7 months ago
hi here's my problem... In a CG fragment program (fp40) I can use: half2 unpack_2half( float) to retrive my 2 half values from a 32 float. I am trying to do the same in a Vertex Program but it seems that unpack_2half is not supported for vp40. Do you guys know any alternatives to unpack 2 half from a float in a vertex program ? ta

This topic is closed to new replies.

Advertisement