i965/fs: Remove brw_wm_compile::computes_depth field.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Nov 2012 20:21:40 +0000 (12:21 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 27 Nov 2012 03:52:33 +0000 (19:52 -0800)
commitce96f6db9028f8488faf778444597b1a3d26433f
tree66746e0ce29001f37f609781623de601138d1fa2
parent529fe420ba6836479619ba42e53665724755fc1c
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>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_iz.c