util: Set flatshade for blitter.

It was bugging me. +1 FPS on softpipe.
This commit is contained in:
Corbin Simpson 2010-01-11 05:39:56 -08:00
parent 2bfb21790c
commit 1c75edf3e8

View file

@ -163,6 +163,7 @@ struct blitter_context *util_blitter_create(struct pipe_context *pipe)
rs_state.cull_mode = PIPE_WINDING_NONE;
rs_state.bypass_vs_clip_and_viewport = 1;
rs_state.gl_rasterization_rules = 1;
rs_state.flatshade = 1;
ctx->rs_state = pipe->create_rasterizer_state(pipe, &rs_state);
/* fragment shaders are created on-demand */