i965/blorp: Expand clear class hierarchy to prepare for RT resolves.
authorPaul Berry <stereotype441@gmail.com>
Mon, 6 May 2013 16:38:42 +0000 (09:38 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 12 Jun 2013 18:10:06 +0000 (11:10 -0700)
commitfac32c0bd31601c37f3aa01d69b655e0f75bbdef
treee67c90fdceb6a771dbca32d1f01cccf4afd74e32
parent5e5d4e021f7dde12fb0f4dfaf40fbbd4d119f4ab
i965/blorp: Expand clear class hierarchy to prepare for RT resolves.

The fragment shaders that to do color clears will be re-used to
perform so-called "render target resolves" (the resolves associated
with fast color clears).  To prepare for that, this patch expands the
class hierarchy for blorp params by adding
brw_blorp_const_color_params (which will be used for all blorp
operations where the fragment shader outputs a constant color).

Some other data structures and functions were also renamed to use
"const_color" nomenclature where appropriate.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
src/mesa/drivers/dri/i965/brw_context.h