Home
last modified time | relevance | path

Searched refs:MIN3 (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/intel/common/
Dintel_guardband.h84 const float ss_ra_xmin = MIN3(x_min, m30 + m00, m30 - m00); in intel_calculate_guardband_size()
86 const float ss_ra_ymin = MIN3(y_min, m31 + m11, m31 - m11); in intel_calculate_guardband_size()
/third_party/mesa3d/src/asahi/lib/
Dtiling.h46 unsigned shift = util_logbase2_ceil(MIN3(width, height, 64)); in agx_select_tile_shift()
/third_party/mesa3d/src/util/
Du_math.h641 #define MIN3( A, B, C ) ((A) < (B) ? MIN2(A, C) : MIN2(B, C)) macro
644 #define MIN4( A, B, C, D ) ((A) < (B) ? MIN3(A, C, D) : MIN3(B, C, D))
Dmacros.h352 #define MIN3( A, B, C ) ((A) < (B) ? MIN2(A, C) : MIN2(B, C)) macro
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_rect.c301 bbox.x0 = (MIN3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_rect_cw()
303 bbox.y0 = (MIN3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_rect_cw()
Dlp_setup_tri.c307 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; in do_triangle_ccw()
311 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; in do_triangle_ccw()
/third_party/mesa3d/src/glx/
Dindirect_glx.c387 gc->maxSmallRenderCommandSize = MIN3(bufSize, __GLX_RENDER_CMD_SIZE_LIMIT, in indirect_create_context_attribs()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_instance.c108 instance_version = MIN3(instance_version, instance->renderer_api_version, in vn_instance_init_renderer_versions()
Dvn_physical_device.c699 uint32_t ver = MIN3(vk10_props->apiVersion, VN_MAX_API_VERSION, in vn_physical_device_init_properties()
1155 MIN3(props.apiVersion, instance->renderer_api_version, in vn_physical_device_init_renderer_version()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_state.c2316 x2 = MIN3(x2, rect.x2, rt->desc.Width); in CSMT_ITEM_NO_WAIT()
2317 y2 = MIN3(y2, rect.y2, rt->desc.Height); in CSMT_ITEM_NO_WAIT()
2342 x2 = MIN3(x2, rect.x2, zsbuf_surf->desc.Width); in CSMT_ITEM_NO_WAIT()
2343 y2 = MIN3(y2, rect.y2, zsbuf_surf->desc.Height); in CSMT_ITEM_NO_WAIT()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blitter.c1513 unsigned minx = MAX2(MIN3(info->dst.start.x, info->dst.end.x, maxx), 0); in GENX()
1514 unsigned miny = MAX2(MIN3(info->dst.start.y, info->dst.end.y, maxy), 0); in GENX()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state_derived.c830 level_count = MIN3(sampler->max_lod, in r300_merge_textures_and_samplers()
Dr300_emit.c1116 unsigned pvs_num_slots = MIN3(vtx_mem_size / input_count, in r300_emit_vs_state()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_scoreboard.cpp877 min_dist = MIN3(min_dist, dist, 7); in ordered_dependency_swsb()
Dbrw_fs_generator.cpp103 const unsigned width = MIN3(reg_width, phys_width, max_hw_width); in brw_reg_from_fs_reg()
Dbrw_fs.cpp5090 return MIN3(devinfo->ver >= 8 ? 16 : 8, in get_lowered_simd_width()
/third_party/mesa3d/src/intel/tools/
Daubinator_viewer.cpp492 MIN3(window->len, in display_edit_window()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_job.c97 fb->shift_min = MIN3(fb->shift_w, fb->shift_h, 2); in lima_get_fb_info()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c369 size = MIN3(bo->base.size / 16, in sparse_backing_alloc()
Dzink_screen.c979 return MIN3(get_smallest_buffer_heap(screen), in zink_get_shader_param()
/third_party/mesa3d/src/mesa/main/
Dtexobj.c729 t->_MaxLevel = MIN3(t->Attrib.MaxLevel, in _mesa_test_texobj_completeness()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c940 size = MIN3(bo->base.size / 16, in sparse_backing_alloc()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c207 return MIN3(min_vertex_pipeline_param(pscreen, param), in min_shader_param()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_varyings.c589 output_size = MIN3(num_components, current_type_components_left, 4); in xfb_decl_store()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c5207 MIN3(isv->base.u.buf.size, isv->res->bo->size - isv->res->offset, in emit_sampler_view()
5248 MIN3(iv->base.u.buf.size, res->bo->size - res->offset - iv->base.u.buf.offset, in emit_image_view()

12