i965: Delete brw_wm_prog_key::render_to_fbo and drawable_height.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 17 May 2016 10:40:11 +0000 (03:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 20 May 2016 21:30:09 +0000 (14:30 -0700)
commit08bc74e69476107e9944932d2fe9dba053b44570
tree48c78f7a3104f862e05819350a1983d3fd90d80b
parentdac10e8a1390711f1f36f224644c4a33586cebe3
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>
src/intel/vulkan/anv_pipeline.c
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_wm.c