I want the GLSL equivalent of:

Code glsl:
float f;
int   i = *(int *)&f;

Any way to do this? Prefer std method but dirty hacks OK. Have wanted this before and now I want it again.

Issue is texture buffers have one component type. I want to mix different types in one, ala interleaved VBOs.