diff options
author | Corbin Simpson <[email protected]> | 2010-01-11 05:39:56 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-01-11 05:43:29 -0800 |
commit | 1c75edf3e8ccc97f5f91f42f99c1f8db30b25fc4 (patch) | |
tree | 41023b3cf0690e2f6223c741243162c3f27c6d4e /src/gallium/auxiliary/util/u_blitter.c | |
parent | 2bfb21790c866cd738f91c7e9ba21a6d9ddd37ef (diff) |
util: Set flatshade for blitter.
It was bugging me. +1 FPS on softpipe.
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_blitter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index eaa3f535a07..46b4706b768 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -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 */ |