Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c676 GLubyte texel_bytes[4]; in fetch_bptc_rgba_unorm() local
678 fetch_bptc_rgba_unorm_bytes(map, rowStride, i, j, texel_bytes); in fetch_bptc_rgba_unorm()
680 texel[RCOMP] = UBYTE_TO_FLOAT(texel_bytes[0]); in fetch_bptc_rgba_unorm()
681 texel[GCOMP] = UBYTE_TO_FLOAT(texel_bytes[1]); in fetch_bptc_rgba_unorm()
682 texel[BCOMP] = UBYTE_TO_FLOAT(texel_bytes[2]); in fetch_bptc_rgba_unorm()
683 texel[ACOMP] = UBYTE_TO_FLOAT(texel_bytes[3]); in fetch_bptc_rgba_unorm()
691 GLubyte texel_bytes[4]; in fetch_bptc_srgb_alpha_unorm() local
693 fetch_bptc_rgba_unorm_bytes(map, rowStride, i, j, texel_bytes); in fetch_bptc_srgb_alpha_unorm()
695 texel[RCOMP] = util_format_srgb_8unorm_to_linear_float(texel_bytes[0]); in fetch_bptc_srgb_alpha_unorm()
696 texel[GCOMP] = util_format_srgb_8unorm_to_linear_float(texel_bytes[1]); in fetch_bptc_srgb_alpha_unorm()
[all …]