summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-11-20 12:21:40 -0800
committerKenneth Graunke <kenneth@whitecape.org>2012-11-26 19:52:33 -0800
commitce96f6db9028f8488faf778444597b1a3d26433f (patch)
tree66746e0ce29001f37f609781623de601138d1fa2 /src/mesa/drivers/dri/i965/brw_wm.h
parent529fe420ba6836479619ba42e53665724755fc1c (diff)
downloadexternal_mesa3d-ce96f6db9028f8488faf778444597b1a3d26433f.zip
external_mesa3d-ce96f6db9028f8488faf778444597b1a3d26433f.tar.gz
external_mesa3d-ce96f6db9028f8488faf778444597b1a3d26433f.tar.bz2
i965/fs: Remove brw_wm_compile::computes_depth field.
Everybody determines this by checking if fp's OutputsWritten field contains the FRAG_RESULT_DEPTH bit. Rather than having payload setup check this and set the computes_depth flag, we can just do the check in the only place that actually used it: emit_fb_writes(). Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index 46d4416..c017866 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -89,7 +89,6 @@ struct brw_wm_compile {
uint8_t dest_depth_reg;
uint8_t barycentric_coord_reg[BRW_WM_BARYCENTRIC_INTERP_MODE_COUNT];
uint8_t nr_payload_regs;
- GLuint computes_depth:1; /* could be derived from program string */
GLuint source_depth_to_render_target:1;
GLuint runtime_check_aads_emit:1;