diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2016-05-17 03:40:11 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2016-05-20 14:30:09 -0700 |
commit | 08bc74e69476107e9944932d2fe9dba053b44570 (patch) | |
tree | 48c78f7a3104f862e05819350a1983d3fd90d80b /src/mesa/drivers/dri/i965/brw_compiler.h | |
parent | dac10e8a1390711f1f36f224644c4a33586cebe3 (diff) | |
download | external_mesa3d-08bc74e69476107e9944932d2fe9dba053b44570.zip external_mesa3d-08bc74e69476107e9944932d2fe9dba053b44570.tar.gz external_mesa3d-08bc74e69476107e9944932d2fe9dba053b44570.tar.bz2 |
i965: Delete brw_wm_prog_key::render_to_fbo and drawable_height.
Now that we handle flipping and other gl_FragCoord transformations
via a uniform, these key fields have no users.
This patch actually eliminates the associated recompiles. The Tomb
Raider benchmark's minimum FPS increases from ~1 FPS to a reasonable
number.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_compiler.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h index f4b9d3d..fb0e9ae 100644 --- a/src/mesa/drivers/dri/i965/brw_compiler.h +++ b/src/mesa/drivers/dri/i965/brw_compiler.h @@ -244,7 +244,6 @@ struct brw_wm_prog_key { bool flat_shade:1; unsigned nr_color_regions:5; bool replicate_alpha:1; - bool render_to_fbo:1; bool clamp_fragment_color:1; bool persample_interp:1; bool multisample_fbo:1; |