| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_half.h | 55 union fi f32; local 60 f32.f = f; 63 sign = f32.ui & sign_mask; 64 f32.ui ^= sign; 66 if (f32.ui == f32inf) { 69 } else if (f32.ui > f32inf) { 74 f32.ui &= round_mask; 75 f32.f *= magic.f; 76 f32.ui -= round_mask; 91 if (f32.ui > f16inf 108 union fi f32; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| half_float.c | 120 * so bump the exponent. This correctly handles the case where f32 147 union fi f32; local 154 f32.ui = (val & 0x7fff) << 13; 157 f32.f *= magic.f; 161 if (f32.f >= infnan.f) 162 f32.ui |= 0xff << 23; 165 f32.ui |= (uint32_t)(val & 0x8000) << 16; 167 return f32.f;
|
| format_r11g11b10f.h | 58 } f32 = {val}; local 63 int sign = (f32.ui >> 16) & 0x8000; 65 int exponent = ((f32.ui >> 23) & 0xff) - 127; 66 int mantissa = f32.ui & 0x007fffff; 106 } f32; local 111 f32.f = 0.0; 116 f32.f = scale * mantissa; 119 f32.ui = F32_INFINITY | mantissa; 129 f32.f = scale * decimal; 132 return f32.f 140 } f32 = {val}; local 188 } f32; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| format_r11g11b10f.h | 58 } f32 = {val}; local 63 int sign = (f32.ui >> 16) & 0x8000; 65 int exponent = ((f32.ui >> 23) & 0xff) - 127; 66 int mantissa = f32.ui & 0x007fffff; 106 } f32; local 111 f32.f = 0.0; 116 f32.f = scale * mantissa; 119 f32.ui = F32_INFINITY | mantissa; 129 f32.f = scale * decimal; 132 return f32.f 140 } f32 = {val}; local 188 } f32; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| aco_ir.cpp | 573 aco_opcode f32; member in struct:aco::CmpInfo 595 info->f32 = op == aco_opcode::v_cmp_##ord##_f##sz ? aco_opcode::v_cmp_##ord##_f32 \ 613 info->f32 = aco_opcode::v_cmp_u_f32; \ 618 info->f32 = aco_opcode::v_cmp_o_f32; \ 656 return get_cmp_info(op, &info) ? info.f32 : aco_opcode::num_opcodes;
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| lower_packing_builtins.cpp | 858 * Let f32 be a float32 value. The sign, exponent, and mantissa 901 * Our task is to compute s16, e16, m16 given f32. Since this function 908 /* Case 1) f32 is NaN 919 /* Case 2) f32 lies in the range [0, min_norm16). 925 * f32 = min_norm16 (30) 939 /* u16 = uint(round_to_even(abs(f32) * float(1u << 24u))); */ 943 /* Case 3) f32 lies in the range 950 * f32 = max_norm16 + max_step16 (40) 957 * We already solved the boundary condition f32 = min_norm16 above 977 /* Case 4) f32 lies in the range [max_norm16 + max_step16, inf] 1025 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local 1251 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/ |
| nv50_ir_build_util.cpp | 402 float f32; member in union:nv50_ir::__anon1365 405 u.f32 = f;
|
| /xsrc/external/mit/MesaLib/dist/src/intel/isl/ |
| isl_format.c | 1162 packed = util_format_linear_float_to_srgb_8unorm(value->f32[i]); 1164 float srgb = util_format_linear_to_srgb_float(value->f32[i]); 1168 packed = _mesa_float_to_unorm(value->f32[i], layout->bits); 1172 packed = _mesa_float_to_snorm(value->f32[i], layout->bits); 1177 packed = _mesa_float_to_half(value->f32[i]); 1218 data_out[0] = float3_to_rgb9e5(value->f32); 1221 data_out[0] = float3_to_r11g11b10f(value->f32); 1263 float f32; member in union:__anon2463 1273 unpacked.f32 = util_format_srgb_8unorm_to_linear_float(packed); 1276 unpacked.f32 = util_format_srgb_to_linear_float(srgb) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/ |
| spirv_to_dxil.h | 53 float f32; member in union:__anon2766
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| lower_packing_builtins.cpp | 858 * Let f32 be a float32 value. The sign, exponent, and mantissa 901 * Our task is to compute s16, e16, m16 given f32. Since this function 908 /* Case 1) f32 is NaN 919 /* Case 2) f32 lies in the range [0, min_norm16). 925 * f32 = min_norm16 (30) 939 /* u16 = uint(round_to_even(abs(f32) * float(1u << 24u))); */ 943 /* Case 3) f32 lies in the range 950 * f32 = max_norm16 + max_step16 (40) 957 * We already solved the boundary condition f32 = min_norm16 above 977 /* Case 4) f32 lies in the range [max_norm16 + max_step16, inf] 1025 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local 1251 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/ |
| nv50_ir_build_util.cpp | 388 float f32; member in union:nv50_ir::__anon3809 391 u.f32 = f;
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/isl/ |
| isl_format.c | 859 packed = util_format_linear_float_to_srgb_8unorm(value->f32[i]); 861 float srgb = util_format_linear_to_srgb_float(value->f32[i]); 865 packed = _mesa_float_to_unorm(value->f32[i], layout->bits); 869 packed = _mesa_float_to_snorm(value->f32[i], layout->bits); 874 packed = _mesa_float_to_half(value->f32[i]); 915 data_out[0] = float3_to_rgb9e5(value->f32); 918 data_out[0] = float3_to_r11g11b10f(value->f32); 960 float f32; member in union:__anon4798 968 unpacked.f32 = _mesa_unorm_to_float(packed, layout->bits); 971 unpacked.f32 = util_format_srgb_8unorm_to_linear_float(packed) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3.c | 738 uint32_t f32; member in struct:__anon950 741 { .f32 = 0x00000000, .f16 = 0x0000 }, /* 0.0 */ 742 { .f32 = 0x3f000000, .f16 = 0x3800 }, /* 0.5 */ 743 { .f32 = 0x3f800000, .f16 = 0x3c00 }, /* 1.0 */ 744 { .f32 = 0x40000000, .f16 = 0x4000 }, /* 2.0 */ 745 { .f32 = 0x402df854, .f16 = 0x4170 }, /* e */ 746 { .f32 = 0x40490fdb, .f16 = 0x4248 }, /* pi */ 747 { .f32 = 0x3ea2f983, .f16 = 0x3518 }, /* 1/pi */ 748 { .f32 = 0x3f317218, .f16 = 0x398c }, /* 1/log2(e) */ 749 { .f32 = 0x3fb8aa3b, .f16 = 0x3dc5 }, /* log2(e) * [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_conv.c | 223 LLVMValueRef f32 = LLVMBuildExtractElement(builder, src, index, ""); local 230 LLVMValueRef f16 = lp_build_intrinsic_unary(builder, "llvm.convert.to.fp16", i16t, f32); 232 LLVMValueRef f16 = LLVMBuildCall(builder, func, &f32, 1, "");
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/ |
| ShaderParse.h | 102 float f32; member in union:Shader_immediate
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/util/ |
| pan_lower_framebuffer.c | 379 nir_ssa_def *f32 = nir_format_unpack_11f11f10f(b, nir_channel(b, v, 0)); local 380 nir_ssa_def *f16 = nir_f2fmp(b, f32);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir.h | 125 float f32; member in union:__anon3395
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_conv.c | 198 LLVMValueRef f32 = LLVMBuildExtractElement(builder, src, index, ""); local 205 LLVMValueRef f16 = lp_build_intrinsic_unary(builder, "llvm.convert.to.fp16", i16t, f32); 207 LLVMValueRef f16 = LLVMBuildCall(builder, func, &f32, 1, "");
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/clc/ |
| clc.h | 214 float f32; member in union:__anon667
|
| /xsrc/external/mit/MesaLib/dist/src/intel/common/ |
| intel_decoder.h | 178 float f32; member in union:intel_field_value
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_shader_internal.h | 196 LLVMTypeRef f32; member in struct:si_shader_context
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/common/ |
| gen_decoder.h | 168 float f32; member in union:gen_field_value
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir.h | 168 float f32; member in union:__anon770
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| ac_llvm_build.h | 67 LLVMTypeRef f32; member in struct:ac_llvm_context
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| ac_llvm_build.h | 81 LLVMTypeRef f32; member in struct:ac_llvm_context
|