i965/gen7: Skip repeated NULL depth/stencil state emits.
authorEric Anholt <eric@anholt.net>
Sun, 6 Apr 2014 17:49:49 +0000 (10:49 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 11 Apr 2014 20:38:52 +0000 (13:38 -0700)
commit3f9440cfbb0b616b81ad9f03814ebab7e2b7b8c2
treea5490854a6e3a36d501257ccb726a621288675a0
parentfe4f373eb42e9e55e66be108d310b500c7115442
i965/gen7: Skip repeated NULL depth/stencil state emits.

Improves cairo performance on glamor by 2.87752% +/- 0.966977 (n=57).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen7_misc_state.c
src/mesa/drivers/dri/i965/gen8_depth_state.c