Searched refs:BYTE_TO_FLOAT_TEX (Results 1 – 2 of 2) sorted by relevance
345 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in fetch_signed_red_rgtc1()410 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in fetch_signed_rg_rgtc2()411 texel[GCOMP] = BYTE_TO_FLOAT_TEX(green); in fetch_signed_rg_rgtc2()430 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red); in fetch_signed_la_latc2()431 texel[ACOMP] = BYTE_TO_FLOAT_TEX(green); in fetch_signed_la_latc2()
65 #define BYTE_TO_FLOAT_TEX(B) ((B) == -128 ? -1.0F : (B) * (1.0F/127.0F)) macro