define_rasterizer_object(struct svga_context *svga,
struct svga_rasterizer_state *rast)
{
+ struct svga_screen *svgascreen = svga_screen(svga->pipe.screen);
unsigned fill_mode = translate_fill_mode(rast->templ.fill_front);
unsigned cull_mode = translate_cull_mode(rast->templ.cull_face);
int depth_bias = rast->templ.offset_units;
}
for (try = 0; try < 2; try++) {
+ const uint8 pv_last = !rast->templ.flatshade_first &&
+ svgascreen->haveProvokingVertex;
enum pipe_error ret =
SVGA3D_vgpu10_DefineRasterizerState(svga->swc,
rast->id,
rast->templ.line_stipple_enable,
line_factor,
line_pattern,
- !rast->templ.flatshade_first);
+ pv_last);
if (ret == PIPE_OK)
return;
svga_context_flush(svga, NULL);