Home
last modified time | relevance | path

Searched refs:rast (Results 1 – 25 of 111) sorted by relevance

12345

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c106 struct svga_rasterizer_state *rast) in define_rasterizer_object() argument
109 unsigned fill_mode = translate_fill_mode(rast->templ.fill_front); in define_rasterizer_object()
110 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face); in define_rasterizer_object()
111 const int depth_bias = rast->templ.offset_units; in define_rasterizer_object()
112 const float slope_scaled_depth_bias = rast->templ.offset_scale; in define_rasterizer_object()
115 const float line_width = rast->templ.line_width > 0.0f ? in define_rasterizer_object()
116 rast->templ.line_width : 1.0f; in define_rasterizer_object()
117 const uint8 line_factor = rast->templ.line_stipple_enable ? in define_rasterizer_object()
118 rast->templ.line_stipple_factor : 0; in define_rasterizer_object()
119 const uint16 line_pattern = rast->templ.line_stipple_enable ? in define_rasterizer_object()
[all …]
Dsvga_state_need_swtnl.c69 if (svga->curr.rast && in update_need_pipeline()
70 (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim))) { in update_need_pipeline()
73 svga->curr.rast->need_pipeline, in update_need_pipeline()
77 svga->curr.rast->need_pipeline_tris_str, in update_need_pipeline()
78 svga->curr.rast->need_pipeline_lines_str, in update_need_pipeline()
79 svga->curr.rast->need_pipeline_points_str); in update_need_pipeline()
84 reason = svga->curr.rast->need_pipeline_points_str; in update_need_pipeline()
87 reason = svga->curr.rast->need_pipeline_lines_str; in update_need_pipeline()
90 reason = svga->curr.rast->need_pipeline_tris_str; in update_need_pipeline()
107 if (svga->curr.rast && svga->curr.reduced_prim == PIPE_PRIM_POINTS) { in update_need_pipeline()
[all …]
Dsvga_state_rss.c144 const struct svga_rasterizer_state *rast = svga->curr.rast; in emit_rss_vgpu9() local
173 if (rast->templ.front_ccw) { in emit_rss_vgpu9()
219 const struct svga_rasterizer_state *curr = svga->curr.rast; in emit_rss_vgpu9()
259 const struct svga_rasterizer_state *curr = svga->curr.rast; in emit_rss_vgpu9()
290 unsigned enabled = svga->curr.rast->templ.clip_plane_enable; in emit_rss_vgpu9()
324 const struct svga_rasterizer_state *r = svga->curr.rast; in get_no_cull_rasterizer_state()
328 struct pipe_rasterizer_state rast; in get_no_cull_rasterizer_state() local
330 memset(&rast, 0, sizeof(rast)); in get_no_cull_rasterizer_state()
331 rast.flatshade = 1; in get_no_cull_rasterizer_state()
332 rast.front_ccw = 1; in get_no_cull_rasterizer_state()
[all …]
Dsvga_state_fs.c230 key->fs.light_twoside = svga->curr.rast->templ.light_twoside; in make_fs_key()
231 key->fs.front_ccw = svga->curr.rast->templ.front_ccw; in make_fs_key()
232 key->fs.pstipple = (svga->curr.rast->templ.poly_stipple_enable && in make_fs_key()
235 key->fs.aa_point = (svga->curr.rast->templ.point_smooth && in make_fs_key()
237 (svga->curr.rast->pointsize > 1.0 || in make_fs_key()
345 key->sprite_coord_enable = svga->curr.rast->templ.sprite_coord_enable; in make_fs_key()
347 key->sprite_origin_lower_left = (svga->curr.rast->templ.sprite_coord_mode in make_fs_key()
350 key->fs.flatshade = svga->curr.rast->templ.flatshade; in make_fs_key()
433 svga->curr.rast->templ.rasterizer_discard || in emit_hw_fs()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast.c69 lp_rast_begin( struct lp_rasterizer *rast, in lp_rast_begin() argument
72 rast->curr_scene = scene; in lp_rast_begin()
82 lp_rast_end( struct lp_rasterizer *rast ) in lp_rast_end() argument
84 lp_scene_end_rasterization( rast->curr_scene ); in lp_rast_end()
86 rast->curr_scene = NULL; in lp_rast_end()
729 if (!task->rast->no_rast) { in rasterize_scene()
770 lp_rast_queue_scene( struct lp_rasterizer *rast, in lp_rast_queue_scene() argument
775 if (rast->num_threads == 0) { in lp_rast_queue_scene()
784 lp_rast_begin( rast, scene ); in lp_rast_queue_scene()
786 rasterize_scene( &rast->tasks[0], scene ); in lp_rast_queue_scene()
[all …]
Dlp_state_rasterizer.c45 clear_flags(struct pipe_rasterizer_state *rast) in clear_flags() argument
47 rast->light_twoside = 0; in clear_flags()
48 rast->offset_tri = 0; in clear_flags()
49 rast->offset_line = 0; in clear_flags()
50 rast->offset_point = 0; in clear_flags()
51 rast->offset_units = 0.0f; in clear_flags()
52 rast->offset_scale = 0.0f; in clear_flags()
59 const struct pipe_rasterizer_state *rast) in llvmpipe_create_rasterizer_state() argument
70 memcpy(&state->draw_state, rast, sizeof *rast); in llvmpipe_create_rasterizer_state()
71 memcpy(&state->lp_state, rast, sizeof *rast); in llvmpipe_create_rasterizer_state()
[all …]
/external/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c80 struct pipe_rasterizer_state rast; in nine_convert_rasterizer_state() local
82 memset(&rast, 0, sizeof(rast)); in nine_convert_rasterizer_state()
84 rast.flatshade = rs[D3DRS_SHADEMODE] == D3DSHADE_FLAT; in nine_convert_rasterizer_state()
89 rast.cull_face = d3dcull_to_pipe_face(rs[D3DRS_CULLMODE]); in nine_convert_rasterizer_state()
90 rast.fill_front = d3dfillmode_to_pipe_polygon_mode(rs[D3DRS_FILLMODE]); in nine_convert_rasterizer_state()
91 rast.fill_back = rast.fill_front; in nine_convert_rasterizer_state()
92 rast.offset_tri = !!(rs[D3DRS_DEPTHBIAS] | rs[D3DRS_SLOPESCALEDEPTHBIAS]); in nine_convert_rasterizer_state()
93 rast.offset_line = rast.offset_tri; /* triangles in wireframe mode */ in nine_convert_rasterizer_state()
94 rast.offset_point = 0; /* XXX ? */ in nine_convert_rasterizer_state()
95 rast.scissor = !!rs[D3DRS_SCISSORTESTENABLE]; in nine_convert_rasterizer_state()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c155 const struct pipe_rasterizer_state *rast = draw->rasterizer; in validate_pipeline() local
163 wide_lines = rast->line_width != 1.0f && in validate_pipeline()
164 roundf(rast->line_width) > draw->pipeline.wide_line_threshold && in validate_pipeline()
165 (!rast->line_smooth || rast->multisample); in validate_pipeline()
168 if (rast->sprite_coord_enable && draw->pipeline.point_sprite) in validate_pipeline()
170 else if ((!rast->multisample && rast->point_smooth) && draw->pipeline.aapoint) in validate_pipeline()
172 else if (rast->point_size > draw->pipeline.wide_point_threshold) in validate_pipeline()
174 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites) in validate_pipeline()
186 if ((!rast->multisample && rast->line_smooth) && draw->pipeline.aaline) { in validate_pipeline()
192 if ((!rast->multisample && rast->point_smooth) && draw->pipeline.aapoint) { in validate_pipeline()
[all …]
Ddraw_pipe_offset.c151 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; in offset_first_tri() local
152 unsigned fill_mode = rast->fill_front; in offset_first_tri()
155 if (rast->fill_back != rast->fill_front) { in offset_first_tri()
158 if (ccw != rast->front_ccw) in offset_first_tri()
159 fill_mode = rast->fill_back; in offset_first_tri()
165 do_offset = rast->offset_tri; in offset_first_tri()
168 do_offset = rast->offset_line; in offset_first_tri()
171 do_offset = rast->offset_point; in offset_first_tri()
175 do_offset = rast->offset_tri; in offset_first_tri()
179 offset->scale = rast->offset_scale; in offset_first_tri()
[all …]
Ddraw_pipe_unfilled.c215 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; in unfilled_first_tri() local
217 unfilled->mode[0] = rast->front_ccw ? rast->fill_front : rast->fill_back; in unfilled_first_tri()
218 unfilled->mode[1] = rast->front_ccw ? rast->fill_back : rast->fill_front; in unfilled_first_tri()
256 const struct pipe_rasterizer_state *rast = draw ? draw->rasterizer : 0; in draw_unfilled_prepare_outputs() local
257 boolean is_unfilled = (rast && in draw_unfilled_prepare_outputs()
258 (rast->fill_front != PIPE_POLYGON_MODE_FILL || in draw_unfilled_prepare_outputs()
259 rast->fill_back != PIPE_POLYGON_MODE_FILL)); in draw_unfilled_prepare_outputs()
Ddraw_pipe_wide_point.c102 const struct pipe_rasterizer_state *rast = draw->rasterizer; in set_texcoords() local
103 const uint texcoord_mode = rast->sprite_coord_mode; in set_texcoords()
203 const struct pipe_rasterizer_state *rast = draw->rasterizer; in widepoint_first_point() local
206 wide->half_point_size = 0.5f * rast->point_size; in widepoint_first_point()
210 if (rast->half_pixel_center) { in widepoint_first_point()
216 r = draw_get_rasterizer_no_cull(draw, rast); in widepoint_first_point()
222 if ((rast->point_size > draw->pipeline.wide_point_threshold) || in widepoint_first_point()
223 (rast->point_quad_rasterization && draw->pipeline.point_sprite)) { in widepoint_first_point()
232 if (rast->point_quad_rasterization) { in widepoint_first_point()
250 if (si >= 32 || !(rast->sprite_coord_enable & (1 << si))) in widepoint_first_point()
[all …]
Ddraw_context.c1066 struct pipe_rasterizer_state rast; in draw_get_rasterizer_no_cull() local
1068 memset(&rast, 0, sizeof(rast)); in draw_get_rasterizer_no_cull()
1069 rast.scissor = base_rast->scissor; in draw_get_rasterizer_no_cull()
1070 rast.flatshade = base_rast->flatshade; in draw_get_rasterizer_no_cull()
1071 rast.rasterizer_discard = base_rast->rasterizer_discard; in draw_get_rasterizer_no_cull()
1072 rast.front_ccw = 1; in draw_get_rasterizer_no_cull()
1073 rast.half_pixel_center = draw->rasterizer->half_pixel_center; in draw_get_rasterizer_no_cull()
1074 rast.bottom_edge_rule = draw->rasterizer->bottom_edge_rule; in draw_get_rasterizer_no_cull()
1075 rast.clip_halfz = draw->rasterizer->clip_halfz; in draw_get_rasterizer_no_cull()
1078 pipe->create_rasterizer_state(pipe, &rast); in draw_get_rasterizer_no_cull()
[all …]
/external/deqp/android/cts/main/vk-master-2023-03-01/
Dtransform-feedback.txt1019 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.point_…
1020 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_l…
1021 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_s…
1022 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
1023 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
1024 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
1067 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.point_lis…
1068 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_list…
1069 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_stri…
1070 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.triangle_…
[all …]
/external/icu/icu4c/source/data/locales/
Det.txt755 "pärast Kristust",
1135 one{"{0} päeva pärast"}
1136 other{"{0} päeva pärast"}
1148 one{"{0} p pärast"}
1149 other{"{0} p pärast"}
1161 one{"{0} p pärast"}
1162 other{"{0} p pärast"}
1180 dn{"enne/pärast lõunat"}
1183 dn{"enne/pärast lõunat"}
1186 dn{"enne/pärast lõunat"}
[all …]
/external/cronet/third_party/icu/source/data/locales/
Det.txt755 "pärast Kristust",
1135 one{"{0} päeva pärast"}
1136 other{"{0} päeva pärast"}
1148 one{"{0} p pärast"}
1149 other{"{0} p pärast"}
1161 one{"{0} p pärast"}
1162 other{"{0} p pärast"}
1180 dn{"enne/pärast lõunat"}
1183 dn{"enne/pärast lõunat"}
1186 dn{"enne/pärast lõunat"}
[all …]
/external/swiftshader/tests/regres/testlists/vk-default/
Dtransform-feedback.txt3021 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.point_…
3022 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_l…
3023 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_s…
3024 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3025 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3026 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3069 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.point_lis…
3070 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_list…
3071 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_stri…
3072 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.triangle_…
[all …]
/external/deqp/android/cts/main/vk-master/
Dtransform-feedback.txt3021 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.point_…
3022 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_l…
3023 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_s…
3024 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3025 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3026 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3069 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.point_lis…
3070 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_list…
3071 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_stri…
3072 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.triangle_…
[all …]
/external/deqp/external/vulkancts/mustpass/main/vk-default/
Dtransform-feedback.txt3021 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.point_…
3022 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_l…
3023 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_s…
3024 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3025 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3026 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
3069 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.point_lis…
3070 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_list…
3071 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_stri…
3072 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.triangle_…
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_rasterizer.c38 const struct pipe_rasterizer_state *rast) in softpipe_create_rasterizer_state() argument
40 return mem_dup(rast, sizeof(*rast)); in softpipe_create_rasterizer_state()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c175 struct pipe_rasterizer_state *rast = &nv50->rast->pipe; in nv50_fragprog_validate() local
177 if (!fp || !rast) in nv50_fragprog_validate()
217 if (fp->fp.force_persample_interp != rast->force_persample_interp) { in nv50_fragprog_validate()
224 fp->fp.force_persample_interp = rast->force_persample_interp; in nv50_fragprog_validate()
306 if (!nv50->rast->pipe.point_quad_rasterization) { in nv50_sprite_coords_validate()
328 if (!(nv50->rast->pipe.sprite_coord_enable & (1 << fp->in[i].si))) { in nv50_sprite_coords_validate()
341 if (nv50->rast->pipe.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT) in nv50_sprite_coords_validate()
362 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { in nv50_validate_derived_rs()
363 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard; in nv50_validate_derived_rs()
365 PUSH_DATA (push, !nv50->rast->pipe.rasterizer_discard); in nv50_validate_derived_rs()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.c130 struct pipe_rasterizer_state rast; in init_pipe_state() local
177 memset(&rast, 0, sizeof rast); in init_pipe_state()
178 rast.flatshade = 0; in init_pipe_state()
179 rast.front_ccw = 1; in init_pipe_state()
180 rast.cull_face = PIPE_FACE_NONE; in init_pipe_state()
181 rast.fill_back = PIPE_POLYGON_MODE_FILL; in init_pipe_state()
182 rast.fill_front = PIPE_POLYGON_MODE_FILL; in init_pipe_state()
183 rast.scissor = 1; in init_pipe_state()
184 rast.line_width = 1; in init_pipe_state()
185 rast.point_size_per_vertex = 1; in init_pipe_state()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state_validate.c228 bool rast_scissor = nv30->rast ? nv30->rast->pipe.scissor : false; in nv30_validate_scissor()
287 if (nv30->rast->pipe.clip_plane_enable & (1 << i)) in nv30_validate_clip()
318 PUSH_SPACE(push, nv30->rast->size); in nv30_validate_rasterizer()
319 PUSH_DATAp(push, nv30->rast->data, nv30->rast->size); in nv30_validate_rasterizer()
325 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe; in nv30_validate_multisample()
356 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe; in nv30_validate_point_coord()
362 hw |= (nv30->rast->pipe.sprite_coord_enable & 0xff) << 8; in nv30_validate_point_coord()
454 if (!nv30->rast) in nv30_state_context_switch()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_shader_state.c109 struct pipe_rasterizer_state *rast = &nvc0->rast->pipe; in nvc0_fragprog_validate() local
111 if (fp->fp.force_persample_interp != rast->force_persample_interp) { in nvc0_fragprog_validate()
118 fp->fp.force_persample_interp = rast->force_persample_interp; in nvc0_fragprog_validate()
128 if (has_explicit_color && fp->fp.flatshade != rast->flatshade) { in nvc0_fragprog_validate()
133 fp->fp.flatshade = rast->flatshade; in nvc0_fragprog_validate()
139 hwflatshade = rast->flatshade; in nvc0_fragprog_validate()
Dnvc0_state_validate.c365 nvc0->rast->pipe.scissor == nvc0->state.scissor) in nvc0_validate_scissor()
368 if (nvc0->state.scissor != nvc0->rast->pipe.scissor) in nvc0_validate_scissor()
371 nvc0->state.scissor = nvc0->rast->pipe.scissor; in nvc0_validate_scissor()
379 if (nvc0->rast->pipe.scissor) { in nvc0_validate_scissor()
430 util_viewport_zmin_zmax(vp, nvc0->rast->pipe.clip_halfz, &zmin, &zmax); in nvc0_validate_viewport()
512 uint8_t clip_enable = nvc0->rast->pipe.clip_plane_enable; in nvc0_validate_clip()
570 PUSH_SPACE(push, nvc0->rast->size); in nvc0_validate_rasterizer()
571 PUSH_DATAp(push, nvc0->rast->state, nvc0->rast->size); in nvc0_validate_rasterizer()
732 if (nvc0->rast && nvc0->rast->pipe.rasterizer_discard) { in nvc0_validate_fp_zsa_rast()
770 struct pipe_rasterizer_state *rast = &nvc0->rast->pipe; in nvc0_validate_rast_fb() local
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.h46 fd3_rasterizer_stateobj(struct pipe_rasterizer_state *rast) in fd3_rasterizer_stateobj() argument
48 return (struct fd3_rasterizer_stateobj *)rast; in fd3_rasterizer_stateobj()

12345