Home
last modified time | relevance | path

Searched refs:MAX2 (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp1901 int max = MAX2(a, b); in getLatest()
1903 max = MAX2(res.ld[f], max); in getLatest()
1904 max = MAX2(res.st[f], max); in getLatest()
1906 max = MAX2(res.sfu, max); in getLatest()
1907 max = MAX2(res.imul, max); in getLatest()
1908 max = MAX2(res.tex, max); in getLatest()
1914 rd.r[i] = MAX2(rd.r[i], that->rd.r[i]); in setMax()
1915 wr.r[i] = MAX2(wr.r[i], that->wr.r[i]); in setMax()
1918 rd.p[i] = MAX2(rd.p[i], that->rd.p[i]); in setMax()
1919 wr.p[i] = MAX2(wr.p[i], that->wr.p[i]); in setMax()
[all …]
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp1901 int max = MAX2(a, b); in getLatest()
1903 max = MAX2(res.ld[f], max); in getLatest()
1904 max = MAX2(res.st[f], max); in getLatest()
1906 max = MAX2(res.sfu, max); in getLatest()
1907 max = MAX2(res.imul, max); in getLatest()
1908 max = MAX2(res.tex, max); in getLatest()
1914 rd.r[i] = MAX2(rd.r[i], that->rd.r[i]); in setMax()
1915 wr.r[i] = MAX2(wr.r[i], that->wr.r[i]); in setMax()
1918 rd.p[i] = MAX2(rd.p[i], that->rd.p[i]); in setMax()
1919 wr.p[i] = MAX2(wr.p[i], that->wr.p[i]); in setMax()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blend.c378 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
379 rgba[i][GCOMP] = MAX2( rgba[i][GCOMP], dest[i][GCOMP] ); in blend_max()
380 rgba[i][BCOMP] = MAX2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_max()
381 rgba[i][ACOMP] = MAX2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_max()
390 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
391 rgba[i][GCOMP] = MAX2( rgba[i][GCOMP], dest[i][GCOMP] ); in blend_max()
392 rgba[i][BCOMP] = MAX2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_max()
393 rgba[i][ACOMP] = MAX2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_max()
403 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
404 rgba[i][GCOMP] = MAX2( rgba[i][GCOMP], dest[i][GCOMP] ); in blend_max()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_blend.c378 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
379 rgba[i][GCOMP] = MAX2( rgba[i][GCOMP], dest[i][GCOMP] ); in blend_max()
380 rgba[i][BCOMP] = MAX2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_max()
381 rgba[i][ACOMP] = MAX2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_max()
390 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
391 rgba[i][GCOMP] = MAX2( rgba[i][GCOMP], dest[i][GCOMP] ); in blend_max()
392 rgba[i][BCOMP] = MAX2( rgba[i][BCOMP], dest[i][BCOMP] ); in blend_max()
393 rgba[i][ACOMP] = MAX2( rgba[i][ACOMP], dest[i][ACOMP] ); in blend_max()
403 rgba[i][RCOMP] = MAX2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_max()
404 rgba[i][GCOMP] = MAX2( rgba[i][GCOMP], dest[i][GCOMP] ); in blend_max()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c107 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); in svga_create_sampler_state()
131 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); in svga_create_sampler_state()
132 cso->view_max_lod = MAX2((int) (sampler->max_lod + 0.5), 0); in svga_create_sampler_state()
180 unsigned j = MAX2(svga->curr.num_samplers, start + num); in svga_bind_sampler_states()
282 unsigned j = MAX2(svga->curr.num_sampler_views, start + num); in svga_set_sampler_views()
Dsvga_pipe_clear.c78 rect.w = MAX2(rect.w, fb->zsbuf->width); in try_clear()
79 rect.h = MAX2(rect.h, fb->zsbuf->height); in try_clear()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c107 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); in svga_create_sampler_state()
131 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); in svga_create_sampler_state()
132 cso->view_max_lod = MAX2((int) (sampler->max_lod + 0.5), 0); in svga_create_sampler_state()
180 unsigned j = MAX2(svga->curr.num_samplers, start + num); in svga_bind_sampler_states()
282 unsigned j = MAX2(svga->curr.num_sampler_views, start + num); in svga_set_sampler_views()
Dsvga_pipe_clear.c78 rect.w = MAX2(rect.w, fb->zsbuf->width); in try_clear()
79 rect.h = MAX2(rect.h, fb->zsbuf->height); in try_clear()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dapi_path.c450 maxX = MAX2(pts[0], MAX2(pts[2], MAX2(pts[4], pts[6]))); in vegaPathTransformedBounds()
451 maxY = MAX2(pts[1], MAX2(pts[3], MAX2(pts[5], pts[7]))); in vegaPathTransformedBounds()
/external/mesa3d/src/gallium/state_trackers/vega/
Dapi_path.c450 maxX = MAX2(pts[0], MAX2(pts[2], MAX2(pts[4], pts[6]))); in vegaPathTransformedBounds()
451 maxY = MAX2(pts[1], MAX2(pts[3], MAX2(pts[5], pts[7]))); in vegaPathTransformedBounds()
/external/skia/tools/
Dskdiff.h25 #define MAX2(a,b) (((b) < (a)) ? (a) : (b)) macro
26 #define MAX3(a,b,c) (((b) < (a)) ? MAX2((a), (c)) : MAX2((b), (c)))
/external/chromium_org/third_party/skia/tools/
Dskdiff.h25 #define MAX2(a,b) (((b) < (a)) ? (a) : (b)) macro
26 #define MAX3(a,b,c) (((b) < (a)) ? MAX2((a), (c)) : MAX2((b), (c)))
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width); in update_scissor()
59 GLint ymax = MAX2(0, ctx->Scissor.Y + ctx->Scissor.Height); in update_scissor()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_scissor.c58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width); in update_scissor()
59 GLint ymax = MAX2(0, ctx->Scissor.Y + ctx->Scissor.Height); in update_scissor()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_upload_mgr.c128 size = align(MAX2(upload->default_size, min_size), 4096); in u_upload_alloc_buffer()
176 if (MAX2(upload->offset, alloc_offset) + alloc_size > upload->size) { in u_upload_alloc()
183 offset = MAX2(upload->offset, alloc_offset); in u_upload_alloc()
Du_math.h671 #define MAX2( A, B ) ( (A)>(B) ? (A) : (B) ) macro
674 #define MAX3( A, B, C ) ((A) > (B) ? MAX2(A, C) : MAX2(B, C))
703 return MAX2(1, value >> levels); in u_minify()
/external/mesa3d/src/gallium/auxiliary/util/
Du_upload_mgr.c128 size = align(MAX2(upload->default_size, min_size), 4096); in u_upload_alloc_buffer()
176 if (MAX2(upload->offset, alloc_offset) + alloc_size > upload->size) { in u_upload_alloc()
183 offset = MAX2(upload->offset, alloc_offset); in u_upload_alloc()
Du_math.h692 #define MAX2( A, B ) ( (A)>(B) ? (A) : (B) ) macro
695 #define MAX3( A, B, C ) ((A) > (B) ? MAX2(A, C) : MAX2(B, C))
724 return MAX2(1, value >> levels); in u_minify()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_live_variables.cpp213 use[i] = MAX2(use[i], cfg.blocks[b]->start_ip); in calculate_live_intervals()
218 use[i] = MAX2(use[i], cfg.blocks[b]->end_ip); in calculate_live_intervals()
264 int start = MAX2(a_def, b_def); in virtual_grf_interferes()
Dbrw_fs_schedule_instructions.cpp177 before->child_latency[i] = MAX2(before->child_latency[i], latency); in add_dep()
464 time = MAX2(time + 1, chosen_time); in schedule_instructions()
474 child->unblocked_time = MAX2(child->unblocked_time, in schedule_instructions()
493 n->unblocked_time = MAX2(n->unblocked_time, in schedule_instructions()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_fs_live_variables.cpp213 use[i] = MAX2(use[i], cfg.blocks[b]->start_ip); in calculate_live_intervals()
218 use[i] = MAX2(use[i], cfg.blocks[b]->end_ip); in calculate_live_intervals()
264 int start = MAX2(a_def, b_def); in virtual_grf_interferes()
Dbrw_fs_schedule_instructions.cpp177 before->child_latency[i] = MAX2(before->child_latency[i], latency); in add_dep()
464 time = MAX2(time + 1, chosen_time); in schedule_instructions()
474 child->unblocked_time = MAX2(child->unblocked_time, in schedule_instructions()
493 n->unblocked_time = MAX2(n->unblocked_time, in schedule_instructions()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_tex_layout.h38 return MAX2(1, d>>1); in minify()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_layout.h38 return MAX2(1, d>>1); in minify()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_tex_layout.c169 for (level = mt->first_level; level <= MAX2(8, mt->last_level); level++) { in i915_miptree_layout_3d()
173 stack_height += MAX2(2, height); in i915_miptree_layout_3d()
415 pack_y_pitch = MAX2(mt->height0, 2); in i945_miptree_layout_3d()

12345678910>>...14