i965: Use ctx->Stencil._WriteEnabled in DEPTH_STENCIL_STATE.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 2 Apr 2013 17:28:07 +0000 (10:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 Apr 2013 22:38:19 +0000 (15:38 -0700)
commit32726b1af6adbde9d6512ef2400c34d544fa02a8
tree22a9995e3e5f5cb64494f6d30c87200add0382c5
parent01bd29d681c68c8b5b23dfc8f92a3ff25c51a069
i965: Use ctx->Stencil._WriteEnabled in DEPTH_STENCIL_STATE.

This is the same computation as the _WriteEnabled flag, so we may as
well use it.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/gen6_depthstencil.c