i965/blorp: Add an is_render_target parameter to surface_info::set.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 7 Oct 2013 21:41:16 +0000 (14:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Oct 2013 23:36:49 +0000 (16:36 -0700)
commit4b2e819e10138dba6961d44f07af6de13750a832
treeb4bc5a0319c7e186ea50498aa2def67c1575ef3c
parentdbc1f3677c1deb32358a6a53f0ad3638a78c7c4f
i965/blorp: Add an is_render_target parameter to surface_info::set.

This allows us to determine whether we're setting up a format for
the source (as a texture) or destination (as a render target).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_blorp.h
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp