i965: Simplify brw_emit_depthbuffer and brw_emit_depth_stencil_hiz
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 May 2018 05:57:09 +0000 (22:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 May 2018 15:27:45 +0000 (08:27 -0700)
commit4f4779b367900ab2c2e892ab0f05e8ff62289fe2
tree029fbcbc9a2a1beee110009cb75c9c141cade199
parent96f01501d7a5f5242cba8641a2f20e965ce3aa94
i965: Simplify brw_emit_depthbuffer and brw_emit_depth_stencil_hiz

Now that we're using ISL, a good chunk of brw_emit_depthstencil is
pointless checks which ISL will do for us anyway.  Since we only have
one manual depth buffer emit function, move the useful bits into it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_misc_state.c