| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_half.h | 55 union fi f32; local in function:util_float_to_half 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 108 union fi f32; local in function:util_half_to_float [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_convert_ycbcr.c | 82 { { .f32 = 1.402f }, { .f32 = 1.0f }, { .f32 = 0.0f }, { .f32 = 0.0f } }, 83 { { .f32 = -0.714136286201022f }, { .f32 = 1.0f }, { .f32 = -0.344136286201022f }, { .f32 = 0.0f } }, 84 { { .f32 = 0.0f }, { .f32 [all...] |
| H A D | nir_lower_tex.c | 48 { { .f32 = 1.16438356f }, { .f32 = 1.16438356f }, { .f32 = 1.16438356f } }, 49 { { .f32 = 0.0f }, { .f32 = -0.39176229f }, { .f32 = 2.01723214f } }, 50 { { .f32 = 1.59602678f }, { .f32 = -0.81296764f }, { .f32 = 0.0f } }, 53 { { .f32 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| H A D | panvk_cs.c | 38 data->f32[0] = 0.5f * viewport->width; 39 data->f32[1] = 0.5f * viewport->height; 40 data->f32[2] = 0.5f * (viewport->maxDepth - viewport->minDepth); 47 data->f32[0] = (0.5f * viewport->width) + viewport->x; 48 data->f32[1] = (0.5f * viewport->height) + viewport->y; 49 data->f32[2] = (0.5f * (viewport->maxDepth - viewport->minDepth)) + viewport->minDepth;
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | format_r11g11b10f.h | 58 } f32 = {val}; local in function:f32_to_uf11 63 int sign = (f32.ui >> 16) & 0x8000; 65 int exponent = ((f32.ui >> 23) & 0xff) - 127; 66 int mantissa = f32.ui & 0x007fffff; 106 } f32; local in function:uf11_to_f32 111 f32.f = 0.0; 116 f32.f = scale * mantissa; 119 f32.ui = F32_INFINITY | mantissa; 129 f32.f = scale * decimal; 132 return f32 140 } f32 = {val}; local in function:f32_to_uf10 188 } f32; local in function:uf10_to_f32 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | format_r11g11b10f.h | 58 } f32 = {val}; local in function:f32_to_uf11 63 int sign = (f32.ui >> 16) & 0x8000; 65 int exponent = ((f32.ui >> 23) & 0xff) - 127; 66 int mantissa = f32.ui & 0x007fffff; 106 } f32; local in function:uf11_to_f32 111 f32.f = 0.0; 116 f32.f = scale * mantissa; 119 f32.ui = F32_INFINITY | mantissa; 129 f32.f = scale * decimal; 132 return f32 140 } f32 = {val}; local in function:f32_to_uf10 188 } f32; local in function:uf10_to_f32 [all...] |
| H A D | half_float.c | 120 * so bump the exponent. This correctly handles the case where f32 147 union fi f32; local in function:_mesa_half_to_float_slow 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;
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_nir_lower_ycbcr_textures.c | 93 { { .f32 = 1.402f }, { .f32 = 1.0f }, { .f32 = 0.0f }, { .f32 = 0.0f } }, 94 { { .f32 = -0.714136286201022f }, { .f32 = 1.0f }, { .f32 = -0.344136286201022f }, { .f32 = 0.0f } }, 95 { { .f32 = 0.0f }, { .f32 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_nir_lower_ycbcr_textures.c | 92 { { .f32 = 1.402f }, { .f32 = 1.0f }, { .f32 = 0.0f }, { .f32 = 0.0f } }, 93 { { .f32 = -0.714136286201022f }, { .f32 = 1.0f }, { .f32 = -0.344136286201022f }, { .f32 = 0.0f } }, 94 { { .f32 = 0.0f }, { .f32 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | ac_shader_util.c | 133 args->out[0] = LLVMGetUndef(ctx->f32); /* R, depth */ 134 args->out[1] = LLVMGetUndef(ctx->f32); /* G, stencil test val[0:7], stencil op val[8:15] */ 135 args->out[2] = LLVMGetUndef(ctx->f32); /* B, sample mask */ 136 args->out[3] = LLVMGetUndef(ctx->f32); /* A, alpha to mask */
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_meta_util.c | 368 override_color.f32[i] = CLAMP(override_color.f32[i], 0.0f, 1.0f); 373 override_color.f32[i] = CLAMP(override_color.f32[i], -1.0f, 1.0f); 400 override_color.f32[i] = MAX2(override_color.f32[i], 0.0f); 409 override_color.f32[3] = 1.0f; 416 override_color.f32[i] = 417 util_format_linear_to_srgb_float(override_color.f32[i]);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_meta_util.c | 368 override_color.f32[i] = SATURATE(override_color.f32[i]); 373 override_color.f32[i] = CLAMP(override_color.f32[i], -1.0f, 1.0f); 400 override_color.f32[i] = MAX2(override_color.f32[i], 0.0f); 409 override_color.f32[3] = 1.0f; 416 override_color.f32[i] = 417 util_format_linear_to_srgb_float(override_color.f32[i]);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/lib/ |
| H A D | gk104.asm | 108 cvt rn f32 $r3 u16 1 $r1 109 cvt rn f32 $r2 u16 0 $r1 110 mul f32 $r3 $r3 0x37800074 112 cvt rn f32 $r1 u16 1 $r0 113 mul f32 $r2 $r2 0x37800074 114 cvt rn f32 $r0 u16 0 $r0 115 mul f32 $r1 $r1 0x37800074 116 mul f32 $r0 $r0 0x37800074 124 cvt rn f32 $r3 s16 1 $r1 125 cvt rn f32 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/lib/ |
| H A D | gk104.asm | 108 cvt rn f32 $r3 u16 1 $r1 109 cvt rn f32 $r2 u16 0 $r1 110 mul f32 $r3 $r3 0x37800074 112 cvt rn f32 $r1 u16 1 $r0 113 mul f32 $r2 $r2 0x37800074 114 cvt rn f32 $r0 u16 0 $r0 115 mul f32 $r1 $r1 0x37800074 116 mul f32 $r0 $r0 0x37800074 124 cvt rn f32 $r3 s16 1 $r1 125 cvt rn f32 [all...] |
| /xsrc/external/mit/xf86-video-sunffb/dist/src/ |
| H A D | VISmoveImage.s | 135 #define load_bank1 f32-f46 139 #define LOAD(f32,f46,tgt,tgtr) \ 143 ldda [%src] ASI_BLK_P, %f32; \ 147 #define PREPLOAD(f32,f46,tgt,tgtr) \ 150 ldda [%src] ASI_BLK_P, %f32; \ 201 ldda [%src] ASI_BLK_P, %f32 ! Group 11 226 ldda [%src] ASI_BLK_P, %f32 ! Group 12 286 prepr0: faligndata %f32, %f34, %f16 397 prepn0: faligndata %ftmp1, %f32, %f30 411 prepn2: faligndata %ftmp1, %f32, [all...] |
| /xsrc/external/mit/MesaLib/src/compiler/nir/ |
| H A D | nir_constant_expressions.c | 734 _src[0][0].f32, 735 _src[0][1].f32, 736 _src[0][2].f32, 737 _src[0][3].f32, 738 _src[0][4].f32, 739 _src[0][5].f32, 740 _src[0][6].f32, 741 _src[0][7].f32, 742 _src[0][8].f32, 743 _src[0][9].f32, [all...] |
| /xsrc/external/mit/MesaLib.old/src/compiler/nir/ |
| H A D | nir_constant_expressions.c | 373 _dst_val[_i].f32 = dst; 389 _dst_val[_i].f32 = dst; 705 _src[0][0].f32, 706 _src[0][1].f32, 712 _src[1][0].f32, 713 _src[1][1].f32, 798 _src[0][0].f32, 799 _src[0][1].f32, 800 _src[0][2].f32, 805 _src[1][0].f32, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| H A D | iris_clear.c | 58 color.f32[i] != 0.0f && color.f32[i] != 1.0f) { 170 override_color.f32[i] = SATURATE(override_color.f32[i]); 173 override_color.f32[i] = CLAMP(override_color.f32[i], -1.0f, 1.0f); 197 override_color.f32[i] = MAX2(override_color.f32[i], 0.0f); 204 override_color.f32[3] = 1.0f; 265 color.f32[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| H A D | crocus_clear.c | 56 if (color.f32[i] != 0.0f && color.f32[i] != 1.0f) { 149 override_color.f32[i] = CLAMP(override_color.f32[i], 0.0f, 1.0f); 152 override_color.f32[i] = CLAMP(override_color.f32[i], -1.0f, 1.0f); 176 override_color.f32[i] = MAX2(override_color.f32[i], 0.0f); 183 override_color.f32[3] = 1.0f; 189 override_color.f32[ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| H A D | iris_clear.c | 59 color.f32[i] != 0.0f && color.f32[i] != 1.0f) { 149 override_color.f32[i] = CLAMP(override_color.f32[i], 0.0f, 1.0f); 152 override_color.f32[i] = CLAMP(override_color.f32[i], -1.0f, 1.0f); 176 override_color.f32[i] = MAX2(override_color.f32[i], 0.0f); 183 override_color.f32[3] = 1.0f; 189 override_color.f32[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | 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 lie 1025 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local in function:__anonc73dd4060110::lower_packing_builtins_visitor::lower_pack_half_2x16 1251 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local in function:__anonc73dd4060110::lower_packing_builtins_visitor::lower_unpack_half_2x16 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | 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 lie 1025 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local in function:__anoneae932b30110::lower_packing_builtins_visitor::lower_pack_half_2x16 1251 ir_variable *f32 = factory.make_temp(glsl_type::uvec2_type, local in function:__anoneae932b30110::lower_packing_builtins_visitor::lower_unpack_half_2x16 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/ |
| H A D | spirv_to_dxil.h | 53 float f32; member in union:__anon267d1012020a
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/ |
| H A D | nv50_ir_peephole.cpp | 466 if (imm.reg.data.f32 != 1.0f) 485 imm.reg.data.f32 = fabsf(imm.reg.data.f32); 487 imm.reg.data.f32 = -imm.reg.data.f32; 489 if (imm.reg.data.f32 < 0.0f) 490 imm.reg.data.f32 = 0.0f; 492 if (imm.reg.data.f32 > 1.0f) 493 imm.reg.data.f32 = 1.0f; 565 if (!isfinite(a->data.f32)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/ |
| H A D | nv50_ir_peephole.cpp | 469 if (imm.reg.data.f32 != 1.0f) 488 imm.reg.data.f32 = fabsf(imm.reg.data.f32); 490 imm.reg.data.f32 = -imm.reg.data.f32; 492 if (imm.reg.data.f32 < 0.0f) 493 imm.reg.data.f32 = 0.0f; 495 if (imm.reg.data.f32 > 1.0f) 496 imm.reg.data.f32 = 1.0f; 581 if (!isfinite(a->data.f32)) [all...] |