summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-23 17:13:07 -0700
committerJason Ekstrand <[email protected]>2016-08-29 12:17:34 -0700
commit87214414fd584aac80bb88f337ba119cac5109f3 (patch)
tree8e60b0b9d83c6cf08dcfbd61097644c603ba2cc2 /src/intel/blorp/blorp.h
parent348509269ead23cb7f953c174d400e6e3d17d723 (diff)
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 <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r--src/intel/blorp/blorp.h2
1 files changed, 1 insertions, 1 deletions
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