Home
last modified time | relevance | path

Searched refs:SHORT_TO_FLOAT_TEX (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_texfetch_tmp.h1295 texel[RCOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1314 texel[ACOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1329 texel[BCOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1346 texel[ACOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1359 texel[RCOMP] = SHORT_TO_FLOAT_TEX( s[0] ); in FETCH()
1360 texel[GCOMP] = SHORT_TO_FLOAT_TEX( s[1] ); in FETCH()
1377 texel[BCOMP] = SHORT_TO_FLOAT_TEX( s[0] ); in FETCH()
1378 texel[ACOMP] = SHORT_TO_FLOAT_TEX( s[1] ); in FETCH()
1391 texel[RCOMP] = SHORT_TO_FLOAT_TEX( s[0] ); in FETCH()
1392 texel[GCOMP] = SHORT_TO_FLOAT_TEX( s[1] ); in FETCH()
[all …]
/external/mesa3d/src/mesa/main/
Dformat_unpack.c1226 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_R16()
1239 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( (GLshort) (s[i] & 0xffff) ); in unpack_SIGNED_GR1616()
1240 dst[i][GCOMP] = SHORT_TO_FLOAT_TEX( (GLshort) (s[i] >> 16) ); in unpack_SIGNED_GR1616()
1252 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( s[i*3+0] ); in unpack_SIGNED_RGB_16()
1253 dst[i][GCOMP] = SHORT_TO_FLOAT_TEX( s[i*3+1] ); in unpack_SIGNED_RGB_16()
1254 dst[i][BCOMP] = SHORT_TO_FLOAT_TEX( s[i*3+2] ); in unpack_SIGNED_RGB_16()
1265 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( s[i*4+0] ); in unpack_SIGNED_RGBA_16()
1266 dst[i][GCOMP] = SHORT_TO_FLOAT_TEX( s[i*4+1] ); in unpack_SIGNED_RGBA_16()
1267 dst[i][BCOMP] = SHORT_TO_FLOAT_TEX( s[i*4+2] ); in unpack_SIGNED_RGBA_16()
1268 dst[i][ACOMP] = SHORT_TO_FLOAT_TEX( s[i*4+3] ); in unpack_SIGNED_RGBA_16()
[all …]
Dmacros.h85 #define SHORT_TO_FLOAT_TEX(S) ((S) == -32768 ? -1.0F : (S) * (1.0F/32767.0F)) macro