i965: Resolve buffers before drawing [v2]
authorChad Versace <chad.versace@linux.intel.com>
Wed, 16 Nov 2011 02:20:39 +0000 (18:20 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 22 Nov 2011 18:50:50 +0000 (10:50 -0800)
commit3b0d295e122f8ca6e0ebe4593a1e0660308a18c3
tree3057a2111d7eb5876910c380ac6bf3e5be831334
parentb95986729ef3522a65b7357aea99c6358f9d53c8
i965: Resolve buffers before drawing [v2]

Before emitting primitives in brw_try_draw_prims(), resolve the depth
buffer's HiZ buffer and resolve the depth buffer of each enabled depth
texture.

v2: [anholt] The driver no longer validates drm bo's, so update a comment
    to reflect that.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_draw.c