Home
last modified time | relevance | path

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

123456

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c106 struct svga_rasterizer_state *rast, in svga_define_rasterizer_object() argument
110 unsigned fill_mode = translate_fill_mode(rast->templ.fill_front); in svga_define_rasterizer_object()
111 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face); in svga_define_rasterizer_object()
112 const int depth_bias = rast->templ.offset_units; in svga_define_rasterizer_object()
113 const float slope_scaled_depth_bias = rast->templ.offset_scale; in svga_define_rasterizer_object()
116 const float line_width = rast->templ.line_width > 0.0f ? in svga_define_rasterizer_object()
117 rast->templ.line_width : 1.0f; in svga_define_rasterizer_object()
118 const uint8 line_factor = rast->templ.line_stipple_enable ? in svga_define_rasterizer_object()
119 rast->templ.line_stipple_factor : 0; in svga_define_rasterizer_object()
120 const uint16 line_pattern = rast->templ.line_stipple_enable ? in svga_define_rasterizer_object()
[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 struct svga_rasterizer_state *r = svga->curr.rast; in get_no_cull_rasterizer_state()
327 struct pipe_rasterizer_state rast; in get_no_cull_rasterizer_state() local
329 memset(&rast, 0, sizeof(rast)); in get_no_cull_rasterizer_state()
330 rast.flatshade = 1; in get_no_cull_rasterizer_state()
331 rast.front_ccw = 1; in get_no_cull_rasterizer_state()
[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_fs.c167 key->fs.light_twoside = svga->curr.rast->templ.light_twoside; in make_fs_key()
168 key->fs.front_ccw = svga->curr.rast->templ.front_ccw; in make_fs_key()
169 key->fs.pstipple = (svga->curr.rast->templ.poly_stipple_enable && in make_fs_key()
173 key->fs.aa_point = (svga->curr.rast->templ.point_smooth && in make_fs_key()
175 (svga->curr.rast->pointsize > 1.0 || in make_fs_key()
284 key->sprite_coord_enable = svga->curr.rast->templ.sprite_coord_enable; in make_fs_key()
286 key->sprite_origin_lower_left = (svga->curr.rast->templ.sprite_coord_mode in make_fs_key()
289 key->fs.flatshade = svga->curr.rast->templ.flatshade; in make_fs_key()
372 svga->curr.rast->templ.rasterizer_discard || in emit_hw_fs()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
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 …]
Dlp_rast.c70 lp_rast_begin(struct lp_rasterizer *rast, in lp_rast_begin() argument
73 rast->curr_scene = scene; in lp_rast_begin()
83 lp_rast_end(struct lp_rasterizer *rast) in lp_rast_end() argument
85 rast->curr_scene = NULL; in lp_rast_end()
1058 if (!task->rast->no_rast) { in rasterize_scene()
1099 lp_rast_queue_scene(struct lp_rasterizer *rast, in lp_rast_queue_scene() argument
1104 lp_fence_reference(&rast->last_fence, scene->fence); in lp_rast_queue_scene()
1105 if (rast->last_fence) in lp_rast_queue_scene()
1106 rast->last_fence->issued = TRUE; in lp_rast_queue_scene()
1108 if (rast->num_threads == 0) { in lp_rast_queue_scene()
[all …]
/third_party/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 …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c150 const struct pipe_rasterizer_state *rast = draw->rasterizer; in validate_pipeline() local
158 wide_lines = rast->line_width != 1.0f && in validate_pipeline()
159 roundf(rast->line_width) > draw->pipeline.wide_line_threshold && in validate_pipeline()
160 (!rast->line_smooth || rast->multisample); in validate_pipeline()
163 if (rast->sprite_coord_enable && draw->pipeline.point_sprite) in validate_pipeline()
165 else if ((!rast->multisample && rast->point_smooth) && draw->pipeline.aapoint) in validate_pipeline()
167 else if (rast->point_size > draw->pipeline.wide_point_threshold) in validate_pipeline()
169 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites) in validate_pipeline()
181 if ((!rast->multisample && rast->line_smooth) && draw->pipeline.aaline) { in validate_pipeline()
187 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 : NULL; 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.c1060 struct pipe_rasterizer_state rast; in draw_get_rasterizer_no_cull() local
1062 memset(&rast, 0, sizeof(rast)); in draw_get_rasterizer_no_cull()
1063 rast.scissor = base_rast->scissor; in draw_get_rasterizer_no_cull()
1064 rast.flatshade = base_rast->flatshade; in draw_get_rasterizer_no_cull()
1065 rast.rasterizer_discard = base_rast->rasterizer_discard; in draw_get_rasterizer_no_cull()
1066 rast.front_ccw = 1; in draw_get_rasterizer_no_cull()
1067 rast.half_pixel_center = draw->rasterizer->half_pixel_center; in draw_get_rasterizer_no_cull()
1068 rast.bottom_edge_rule = draw->rasterizer->bottom_edge_rule; in draw_get_rasterizer_no_cull()
1069 rast.clip_halfz = draw->rasterizer->clip_halfz; in draw_get_rasterizer_no_cull()
1072 pipe->create_rasterizer_state(pipe, &rast); in draw_get_rasterizer_no_cull()
[all …]
/third_party/vk-gl-cts/android/cts/main/vk-master-2022-03-01/
Dtransform-feedback.txt2552 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.point_…
2553 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_l…
2554 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.line_s…
2555 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
2556 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
2557 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.no_xfb.rast.triang…
2600 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.point_lis…
2601 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_list…
2602 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.line_stri…
2603 dEQP-VK.transform_feedback.primitives_generated_query.get.queue_reset.32bit.vert.xfb.rast.triangle_…
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Det.txt685 "pärast Kristust",
1053 one{"{0} päeva pärast"}
1054 other{"{0} päeva pärast"}
1066 one{"{0} p pärast"}
1067 other{"{0} p pärast"}
1079 one{"{0} p pärast"}
1080 other{"{0} p pärast"}
1098 dn{"enne/pärast lõunat"}
1101 dn{"enne/pärast lõunat"}
1104 dn{"enne/pärast lõunat"}
[all …]
/third_party/skia/third_party/externals/icu/source/data/locales/
Det.txt699 "pärast Kristust",
1062 one{"{0} päeva pärast"}
1063 other{"{0} päeva pärast"}
1075 one{"{0} p pärast"}
1076 other{"{0} p pärast"}
1088 one{"{0} p pärast"}
1089 other{"{0} p pärast"}
1107 dn{"enne/pärast lõunat"}
1110 dn{"enne/pärast lõunat"}
1113 dn{"enne/pärast lõunat"}
[all …]
/third_party/icu/icu4c/source/data/locales/
Det.txt699 "pärast Kristust",
1062 one{"{0} päeva pärast"}
1063 other{"{0} päeva pärast"}
1075 one{"{0} p pärast"}
1076 other{"{0} p pärast"}
1088 one{"{0} p pärast"}
1089 other{"{0} p pärast"}
1107 dn{"enne/pärast lõunat"}
1110 dn{"enne/pärast lõunat"}
1113 dn{"enne/pärast lõunat"}
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.cpp350 ctx->gfx_pipeline_state.rast == NULL || in fill_mode_lowered()
356 if (((ctx->gfx_pipeline_state.rast->base.fill_front == PIPE_POLYGON_MODE_LINE && in fill_mode_lowered()
357 ctx->gfx_pipeline_state.rast->base.cull_face != PIPE_FACE_FRONT) || in fill_mode_lowered()
358 (ctx->gfx_pipeline_state.rast->base.fill_back == PIPE_POLYGON_MODE_LINE && in fill_mode_lowered()
359 ctx->gfx_pipeline_state.rast->base.cull_face == PIPE_FACE_FRONT)) && in fill_mode_lowered()
364 if (ctx->gfx_pipeline_state.rast->base.fill_front == PIPE_POLYGON_MODE_POINT) in fill_mode_lowered()
393 ctx->gfx_pipeline_state.rast->base.point_size > 1.0) && in needs_point_sprite_lowering()
400 (ctx->gfx_pipeline_state.rast->base.point_size > 1.0 || in needs_point_sprite_lowering()
401 ctx->gfx_pipeline_state.rast->base.offset_point || in needs_point_sprite_lowering()
402 (ctx->gfx_pipeline_state.rast->base.point_size_per_vertex && in needs_point_sprite_lowering()
[all …]
Dd3d12_pipeline_state.cpp262 !state->rast->base.rasterizer_discard) { in create_gfx_pipeline_state()
272 …pso_desc.StreamOutput.RasterizedStream = state->rast->base.rasterizer_discard ? D3D12_SO_NO_RASTER… in create_gfx_pipeline_state()
282 pso_desc.RasterizerState = state->rast->desc; in create_gfx_pipeline_state()
287 if (depth_bias(state->rast, reduced_prim)) { in create_gfx_pipeline_state()
288 pso_desc.RasterizerState.DepthBias = state->rast->base.offset_units * 2; in create_gfx_pipeline_state()
289 pso_desc.RasterizerState.DepthBiasClamp = state->rast->base.offset_clamp; in create_gfx_pipeline_state()
290 pso_desc.RasterizerState.SlopeScaledDepthBias = state->rast->base.offset_scale; in create_gfx_pipeline_state()
309 !state->rast->desc.MultisampleEnable && in create_gfx_pipeline_state()
410 if (key->blend == state || key->zsa == state || key->rast == state) in d3d12_gfx_pipeline_state_cache_invalidate()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c180 struct pipe_rasterizer_state *rast = &nv50->rast->pipe; in nv50_fragprog_validate() local
182 if (!fp || !rast) in nv50_fragprog_validate()
222 if (fp->fp.force_persample_interp != rast->force_persample_interp) { in nv50_fragprog_validate()
229 fp->fp.force_persample_interp = rast->force_persample_interp; in nv50_fragprog_validate()
311 if (!nv50->rast->pipe.point_quad_rasterization) { in nv50_sprite_coords_validate()
333 if (!(nv50->rast->pipe.sprite_coord_enable & (1 << fp->in[i].si))) { in nv50_sprite_coords_validate()
346 if (nv50->rast->pipe.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT) in nv50_sprite_coords_validate()
367 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { in nv50_validate_derived_rs()
368 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard; in nv50_validate_derived_rs()
370 PUSH_DATA (push, !nv50->rast->pipe.rasterizer_discard); in nv50_validate_derived_rs()
[all …]
/third_party/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 …]
/third_party/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()
121 if (fp->fp.msaa != rast->multisample) { in nvc0_fragprog_validate()
128 fp->fp.msaa = rast->multisample; in nvc0_fragprog_validate()
138 if (has_explicit_color && fp->fp.flatshade != rast->flatshade) { in nvc0_fragprog_validate()
143 fp->fp.flatshade = rast->flatshade; in nvc0_fragprog_validate()
149 hwflatshade = rast->flatshade; in nvc0_fragprog_validate()
/third_party/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()
/third_party/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()

123456