intel/blorp: Add a format parameter to blorp_fast_clear
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Aug 2016 00:13:07 +0000 (17:13 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 29 Aug 2016 19:17:34 +0000 (12:17 -0700)
commit87214414fd584aac80bb88f337ba119cac5109f3
tree8e60b0b9d83c6cf08dcfbd61097644c603ba2cc2
parent348509269ead23cb7f953c174d400e6e3d17d723
intel/blorp: Add a format parameter to blorp_fast_clear

This allows us to use the actual render format as opposed to the texture
format.  I don't know that the hardware actually cares in the case of fast
clears, but it certainly seems more correct.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/blorp/blorp.h
src/intel/blorp/blorp_clear.c
src/mesa/drivers/dri/i965/brw_blorp.c