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.h49 int viewport_index = 0; in TAG() local
54 viewport_index = u_bitcast_f2u(out->data[viewport_index_output][0]); in TAG()
55 viewport_index = draw_clamp_viewport_idx(viewport_index); in TAG()
82 viewport_index = u_bitcast_f2u(out->data[viewport_index_output][0]); in TAG()
83 viewport_index = draw_clamp_viewport_idx(viewport_index); in TAG()
87 float *scale = pvs->draw->viewports[viewport_index].scale; in TAG()
88 float *trans = pvs->draw->viewports[viewport_index].translate; in TAG()
Ddraw_pipe_clip.c88 unsigned viewport_index = in draw_viewport_index() local
90 return draw_clamp_viewport_idx(viewport_index); in draw_viewport_index()
136 unsigned viewport_index) in interp() argument
164 clip->stage.draw->viewports[viewport_index].scale; in interp()
166 clip->stage.draw->viewports[viewport_index].translate; in interp()
363 int viewport_index = 0; in do_clip_tri() local
382 viewport_index = draw_viewport_index(clipper->stage.draw, prov_vertex); in do_clip_tri()
477 interp( clipper, new_vert, t, vert, vert_prev, viewport_index ); in do_clip_tri()
498 interp( clipper, new_vert, t, vert_prev, vert, viewport_index ); in do_clip_tri()
572 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.c131 unsigned viewport_index = quad[0].input.viewport_index; in quad_clip() local
132 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip()
704 unsigned viewport_index) in subtriangle() argument
706 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in subtriangle()
804 unsigned viewport_index = 0; in sp_setup_tri() local
846 viewport_index = sp_clamp_viewport_idx(*udata); in sp_setup_tri()
848 setup->quad[0].input.viewport_index = viewport_index; in sp_setup_tri()
855 subtriangle(setup, &setup->emaj, &setup->ebot, setup->ebot.lines, viewport_index); in sp_setup_tri()
856 subtriangle(setup, &setup->emaj, &setup->etop, setup->etop.lines, viewport_index); in sp_setup_tri()
861 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.c360 unsigned viewport_index = 0; in try_setup_point() local
366 viewport_index = lp_clamp_viewport_idx(*udata); in try_setup_point()
454 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { in try_setup_point()
460 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox); in try_setup_point()
500 point->inputs.viewport_index = viewport_index; in try_setup_point()
526 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
338 viewport_index = lp_clamp_viewport_idx(*udata); in try_setup_line()
582 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { in try_setup_line()
600 scissor = &setup->draw_regions[viewport_index]; in try_setup_line()
650 line->inputs.viewport_index = viewport_index; in try_setup_line()
754 return lp_setup_bin_triangle(setup, line, &bbox, &bboxpos, nr_planes, viewport_index); in try_setup_line()
Dlp_setup_tri.c292 unsigned viewport_index = 0; in do_triangle_ccw() local
310 viewport_index = lp_clamp_viewport_idx(*udata); in do_triangle_ccw()
342 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { in do_triangle_ccw()
362 scissor = &setup->draw_regions[viewport_index]; in do_triangle_ccw()
396 tri->inputs.viewport_index = viewport_index; in do_triangle_ccw()
728 return lp_setup_bin_triangle(setup, tri, &bbox, &bboxpos, nr_planes, viewport_index); in do_triangle_ccw()
765 unsigned viewport_index) in lp_setup_bin_triangle() argument
799 u_rect_find_intersection(&setup->draw_regions[viewport_index], in lp_setup_bin_triangle()
Dlp_rast_priv.h274 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_all()
Dlp_rast.c369 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_tile()
477 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_mask_sample()
Dlp_rast.h107 unsigned viewport_index; /* the active viewport index (from gs, already clamped) */ member
Dlp_jit.h249 uint32_t viewport_index; member
Dlp_state_fs.c329 LLVMValueRef viewport_index) in lp_llvm_viewport() argument
341 res = lp_build_pointer_get(builder, ptr, viewport_index); in lp_llvm_viewport()
356 LLVMValueRef viewport_index; in lp_build_depth_clamp() local
369 viewport_index = lp_jit_thread_data_raster_state_viewport_index(gallivm, in lp_build_depth_clamp()
376 viewport = lp_llvm_viewport(context_ptr, gallivm, viewport_index); in lp_build_depth_clamp()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c272 unsigned viewport_index; member
280 unsigned viewport_index; member
5589 emit->vs.viewport_index = total_consts++; in emit_constant_declaration()
9603 make_src_const_reg(emit->vs.viewport_index); in emit_vpos_instructions()