Searched refs:RGB9E5_EXP_BIAS (Results 1 – 2 of 2) sorted by relevance
37 #define RGB9E5_EXP_BIAS 15 macro40 #define MAX_RGB9E5_EXP (RGB9E5_MAX_VALID_BIASED_EXP - RGB9E5_EXP_BIAS)77 exp_shared = MAX2((maxrgb.u >> 23), -RGB9E5_EXP_BIAS - 1 + 127) + in float3_to_rgb9e5()78 1 + RGB9E5_EXP_BIAS - 127; in float3_to_rgb9e5()79 revdenom_biasedexp = 127 - (exp_shared - RGB9E5_EXP_BIAS - in float3_to_rgb9e5()112 exponent = (rgb >> 27) - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS; in rgb9e5_to_float3()
409 nir_imm_int(b, -RGB9E5_EXP_BIAS - 1 + 127)), in nir_format_pack_r9g9b9e5()410 nir_imm_int(b, 1 + RGB9E5_EXP_BIAS - 127)); in nir_format_pack_r9g9b9e5()416 nir_isub(b, nir_imm_int(b, 127 + RGB9E5_EXP_BIAS + in nir_format_pack_r9g9b9e5()