hi folks, I have a 32 bit 3D texture I would like to fetch in a glsl program. the texture contains two 16 bit values, which I would like to treat separately. Is there an easy way to obtain the two values, via the channels (rgba) as shown below?
In some cases it may be better to access B instead of R, if the data is going through roughly the same math. In that case it may be vectorized on R300 and R420 hardware too using the natively supported .wzyx swizzle.