Home
last modified time | relevance | path

Searched refs:viewport_index (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_cliptest_tmp.h48 int viewport_index = in TAG() local
77 viewport_index = u_bitcast_f2u(out->data[viewport_index_output][0]); in TAG()
78 viewport_index = draw_clamp_viewport_idx(viewport_index); in TAG()
80 scale = pvs->draw->viewports[viewport_index].scale; in TAG()
81 trans = pvs->draw->viewports[viewport_index].translate; in TAG()
Ddraw_pipe_clip.c93 unsigned viewport_index = in draw_viewport_index() local
95 return draw_clamp_viewport_idx(viewport_index); in draw_viewport_index()
141 unsigned viewport_index) in interp() argument
169 clip->stage.draw->viewports[viewport_index].scale; in interp()
171 clip->stage.draw->viewports[viewport_index].translate; in interp()
408 int viewport_index = 0; in do_clip_tri() local
427 viewport_index = draw_viewport_index(clipper->stage.draw, prov_vertex); in do_clip_tri()
518 interp( clipper, new_vert, t, vert, vert_prev, viewport_index ); in do_clip_tri()
539 interp( clipper, new_vert, t, vert_prev, vert, viewport_index ); in do_clip_tri()
613 int viewport_index; in do_clip_line() local
[all …]
Ddraw_vs_variant.c91 int viewport_index = in find_viewport() local
95 viewport_index = draw_clamp_viewport_idx(viewport_index); in find_viewport()
97 return &draw->viewports[viewport_index]; in find_viewport()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c130 unsigned viewport_index = quad[0].input.viewport_index; in quad_clip() local
131 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip()
714 unsigned viewport_index) in subtriangle() argument
716 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in subtriangle()
814 unsigned viewport_index = 0; in sp_setup_tri() local
855 viewport_index = sp_clamp_viewport_idx(*udata); in sp_setup_tri()
857 setup->quad[0].input.viewport_index = viewport_index; in sp_setup_tri()
864 subtriangle(setup, &setup->emaj, &setup->ebot, setup->ebot.lines, viewport_index); in sp_setup_tri()
865 subtriangle(setup, &setup->emaj, &setup->etop, setup->etop.lines, viewport_index); in sp_setup_tri()
870 subtriangle(setup, &setup->ebot, &setup->emaj, setup->ebot.lines, viewport_index); in sp_setup_tri()
[all …]
Dsp_quad.h66 unsigned viewport_index; member
Dsp_quad_depth_test.c788 unsigned vp_idx = quads[0]->input.viewport_index; in depth_test_quads_fallback()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c349 unsigned viewport_index = 0; in try_setup_point() local
355 viewport_index = lp_clamp_viewport_idx(*udata); in try_setup_point()
439 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { in try_setup_point()
445 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox); in try_setup_point()
490 point->inputs.viewport_index = viewport_index; in try_setup_point()
516 return lp_setup_bin_triangle(setup, point, &bbox, &bbox, nr_planes, viewport_index); in try_setup_point()
Dlp_setup_line.c299 unsigned viewport_index = 0; in try_setup_line() local
334 viewport_index = lp_clamp_viewport_idx(*udata); in try_setup_line()
578 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { in try_setup_line()
598 scissor = &setup->scissors[viewport_index]; in try_setup_line()
654 line->inputs.viewport_index = viewport_index; in try_setup_line()
758 return lp_setup_bin_triangle(setup, line, &bbox, &bboxpos, nr_planes, viewport_index); in try_setup_line()
Dlp_setup_tri.c281 unsigned viewport_index = 0; in do_triangle_ccw() local
299 viewport_index = lp_clamp_viewport_idx(*udata); in do_triangle_ccw()
331 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { in do_triangle_ccw()
353 scissor = &setup->scissors[viewport_index]; in do_triangle_ccw()
388 tri->inputs.viewport_index = viewport_index; in do_triangle_ccw()
720 return lp_setup_bin_triangle(setup, tri, &bbox, &bboxpos, nr_planes, viewport_index); in do_triangle_ccw()
756 unsigned viewport_index) in lp_setup_bin_triangle() argument
788 u_rect_find_intersection(&setup->draw_regions[viewport_index], in lp_setup_bin_triangle()
Dlp_rast_priv.h267 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_all()
Dlp_rast.c349 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_tile()
454 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_mask()
Dlp_jit.h200 uint32_t viewport_index; member
Dlp_rast.h106 unsigned viewport_index; /* the active viewport index (from gs, already clamped) */ member
Dlp_state_fs.c224 LLVMValueRef viewport_index) in lp_llvm_viewport() argument
236 res = lp_build_pointer_get(builder, ptr, viewport_index); in lp_llvm_viewport()
251 LLVMValueRef viewport_index; in lp_build_depth_clamp() local
264 viewport_index = lp_jit_thread_data_raster_state_viewport_index(gallivm, in lp_build_depth_clamp()
271 viewport = lp_llvm_viewport(context_ptr, gallivm, viewport_index); in lp_build_depth_clamp()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c163 unsigned viewport_index; member
2880 emit->vs.viewport_index = total_consts++; in emit_constant_declaration()
5706 make_src_const_reg(emit->vs.viewport_index); in emit_vpos_instructions()