/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_cliptest_tmp.h | 48 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()
|
D | draw_pipe_clip.c | 93 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 …]
|
D | draw_vs_variant.c | 91 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/ |
D | sp_setup.c | 130 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 …]
|
D | sp_quad.h | 66 unsigned viewport_index; member
|
D | sp_quad_depth_test.c | 788 unsigned vp_idx = quads[0]->input.viewport_index; in depth_test_quads_fallback()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_point.c | 349 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()
|
D | lp_setup_line.c | 299 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()
|
D | lp_setup_tri.c | 281 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()
|
D | lp_rast_priv.h | 267 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_all()
|
D | lp_rast.c | 349 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()
|
D | lp_jit.h | 200 uint32_t viewport_index; member
|
D | lp_rast.h | 106 unsigned viewport_index; /* the active viewport index (from gs, already clamped) */ member
|
D | lp_state_fs.c | 224 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/ |
D | svga_tgsi_vgpu10.c | 163 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()
|