diff options
Diffstat (limited to 'src/gallium/frontends/lavapipe/lvp_execute.c')
-rw-r--r-- | src/gallium/frontends/lavapipe/lvp_execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c index fcb1375e414..b335f66efcb 100644 --- a/src/gallium/frontends/lavapipe/lvp_execute.c +++ b/src/gallium/frontends/lavapipe/lvp_execute.c @@ -463,7 +463,7 @@ static void handle_graphics_pipeline(struct lvp_cmd_buffer_entry *cmd, state->rs_state.fill_front = vk_polygon_mode_to_pipe(rsc->polygonMode); state->rs_state.fill_back = vk_polygon_mode_to_pipe(rsc->polygonMode); state->rs_state.point_size_per_vertex = true; - state->rs_state.flatshade_first = true; + state->rs_state.flatshade_first = !pipeline->provoking_vertex_last; state->rs_state.point_quad_rasterization = true; state->rs_state.clip_halfz = true; state->rs_state.half_pixel_center = true; |