Home | History | Annotate | Download | only in svga

Lines Matching refs:rast

68    struct svga_rasterizer_state *rast = CALLOC_STRUCT( svga_rasterizer_state );
71 rast->templ = *templ;
85 rast->shademode = svga_translate_flatshade( templ->flatshade );
86 rast->cullmode = svga_translate_cullmode( templ->cull_face,
88 rast->scissortestenable = templ->scissor;
89 rast->multisampleantialias = templ->multisample;
90 rast->antialiasedlineenable = templ->line_smooth;
91 rast->lastpixel = templ->line_last_pixel;
92 rast->pointsprite = templ->sprite_coord_enable != 0x0;
93 rast->pointsize = templ->point_size;
94 rast->hw_unfilled = PIPE_POLYGON_MODE_FILL;
99 rast->need_pipeline |= SVGA_PIPELINE_FLAG_TRIS;
100 rast->need_pipeline_tris_str = "poly stipple";
105 rast->need_pipeline |= SVGA_PIPELINE_FLAG_LINES;
106 rast->need_pipeline_lines_str = "line width";
117 rast->linepattern = lp.uintValue;
120 rast->need_pipeline |= SVGA_PIPELINE_FLAG_LINES;
121 rast->need_pipeline_lines_str = "line stipple";
126 rast->need_pipeline |= SVGA_PIPELINE_FLAG_POINTS;
127 rast->need_pipeline_points_str = "smooth points";
131 rast->need_pipeline |= SVGA_PIPELINE_FLAG_LINES;
132 rast->need_pipeline_lines_str = "smooth lines";
165 rast->need_pipeline |= SVGA_PIPELINE_FLAG_TRIS;
166 rast->need_pipeline_tris_str = "different front/back fillmodes";
190 rast->need_pipeline |= SVGA_PIPELINE_FLAG_TRIS;
191 rast->need_pipeline_tris_str = "unfilled primitives with no index manipulation";
198 (rast->need_pipeline & SVGA_PIPELINE_FLAG_LINES))
201 rast->need_pipeline |= SVGA_PIPELINE_FLAG_TRIS;
202 rast->need_pipeline_tris_str = "decomposing lines";
208 (rast->need_pipeline & SVGA_PIPELINE_FLAG_POINTS))
211 rast->need_pipeline |= SVGA_PIPELINE_FLAG_TRIS;
212 rast->need_pipeline_tris_str = "decomposing points";
216 rast->slopescaledepthbias = templ->offset_scale;
217 rast->depthbias = templ->offset_units;
220 rast->hw_unfilled = fill;
223 if (rast->need_pipeline & SVGA_PIPELINE_FLAG_TRIS) {
226 rast->hw_unfilled = PIPE_POLYGON_MODE_FILL;
227 rast->slopescaledepthbias = 0;
228 rast->depthbias = 0;
231 return rast;
243 svga->curr.rast = raster;