From 87214414fd584aac80bb88f337ba119cac5109f3 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 23 Aug 2016 17:13:07 -0700 Subject: 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 Reviewed-by: Topi Pohjolainen --- src/intel/blorp/blorp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/blorp/blorp.h') diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index a4fcfdfcf70..12f18332883 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -111,7 +111,7 @@ blorp_blit(struct blorp_batch *batch, void blorp_fast_clear(struct blorp_batch *batch, const struct blorp_surf *surf, - uint32_t level, uint32_t layer, + uint32_t level, uint32_t layer, enum isl_format format, uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1); void -- cgit v1.2.3