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

/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_cliptest_tmp.h48 int viewport_index = local
75 /* only change the viewport_index for the leading vertex */
77 viewport_index = u_bitcast_f2u(out->data[viewport_index_output][0]);
78 viewport_index = draw_clamp_viewport_idx(viewport_index);
80 scale = pvs->draw->viewports[viewport_index].scale;
81 trans = pvs->draw->viewports[viewport_index].translate;
H A Ddraw_pipe_clip.c93 unsigned viewport_index = local
95 return draw_clamp_viewport_idx(viewport_index);
141 unsigned viewport_index)
169 clip->stage.draw->viewports[viewport_index].scale;
171 clip->stage.draw->viewports[viewport_index].translate;
408 int viewport_index = 0; local
427 viewport_index = draw_viewport_index(clipper->stage.draw, prov_vertex);
518 interp( clipper, new_vert, t, vert, vert_prev, viewport_index );
539 interp( clipper, new_vert, t, vert_prev, vert, viewport_index );
613 int viewport_index; local
136 interp(const struct clip_stage *clip, struct vertex_header *dst, float t, const struct vertex_header *out, const struct vertex_header *in, unsigned viewport_index) argument
[all...]
H A Ddraw_vs_variant.c91 int viewport_index = local
95 viewport_index = draw_clamp_viewport_idx(viewport_index);
97 return &draw->viewports[viewport_index];
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad.h66 unsigned viewport_index; member in struct:quad_header_input
H A Dsp_setup.c130 unsigned viewport_index = quad[0].input.viewport_index; local
131 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index];
714 unsigned viewport_index)
716 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index];
814 unsigned viewport_index = 0; local
855 viewport_index = sp_clamp_viewport_idx(*udata);
857 setup->quad[0].input.viewport_index = viewport_index;
864 subtriangle(setup, &setup->emaj, &setup->ebot, setup->ebot.lines, viewport_index);
710 subtriangle(struct setup_context *setup, struct edge *eleft, struct edge *eright, int lines, unsigned viewport_index) argument
1099 unsigned viewport_index = 0; local
1246 unsigned viewport_index = 0; local
[all...]
H A Dsp_quad_depth_test.c788 unsigned vp_idx = quads[0]->input.viewport_index;
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c349 unsigned viewport_index = 0; local
355 viewport_index = lp_clamp_viewport_idx(*udata);
439 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
445 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox);
490 point->inputs.viewport_index = viewport_index;
516 return lp_setup_bin_triangle(setup, point, &bbox, nr_planes, viewport_index);
H A Dlp_setup_line.c297 unsigned viewport_index = 0; local
332 viewport_index = lp_clamp_viewport_idx(*udata);
576 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
595 scissor_planes_needed(s_planes, &bbox, &setup->scissors[viewport_index]);
650 line->inputs.viewport_index = viewport_index;
722 const struct u_rect *scissor = &setup->scissors[viewport_index];
758 return lp_setup_bin_triangle(setup, line, &bbox, nr_planes, viewport_index);
H A Dlp_setup_tri.c282 unsigned viewport_index = 0; local
300 viewport_index = lp_clamp_viewport_idx(*udata);
332 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
353 scissor_planes_needed(s_planes, &bbox, &setup->scissors[viewport_index]);
387 tri->inputs.viewport_index = viewport_index;
686 const struct u_rect *scissor = &setup->scissors[viewport_index];
722 return lp_setup_bin_triangle(setup, tri, &bbox, nr_planes, viewport_index);
757 unsigned viewport_index )
780 u_rect_find_intersection(&setup->draw_regions[viewport_index],
[all...]
H A Dlp_jit.h200 uint32_t viewport_index; member in struct:lp_jit_thread_data::__anon16256
222 "raster_state.viewport_index")
H A Dlp_rast_priv.h267 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
H A Dlp_rast.h106 unsigned viewport_index; /* the active viewport index (from gs, already clamped) */ member in struct:lp_rast_shader_inputs
H A Dlp_rast.c348 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
453 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
H A Dlp_state_fs.c218 * Fetch the specified lp_jit_viewport structure for a given viewport_index.
223 LLVMValueRef viewport_index)
235 res = lp_build_pointer_get(builder, ptr, viewport_index);
250 LLVMValueRef viewport_index; local
263 viewport_index = lp_jit_thread_data_raster_state_viewport_index(gallivm,
270 viewport = lp_llvm_viewport(context_ptr, gallivm, viewport_index);
272 /* viewports[viewport_index].min_depth */
277 /* viewports[viewport_index].max_depth */
221 lp_llvm_viewport(LLVMValueRef context_ptr, struct gallivm_state *gallivm, LLVMValueRef viewport_index) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_vgpu10.c162 unsigned viewport_index; member in struct:svga_shader_emitter_v10::__anon16779
2861 emit->vs.viewport_index = total_consts++;
5919 make_src_const_reg(emit->vs.viewport_index);

Completed in 372 milliseconds