aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp.h
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2016-08-26 18:44:18 +0300
committerTopi Pohjolainen <[email protected]>2016-09-12 11:48:29 +0300
commita1c7de09dc2b00cc990903ebee52228315e5d4e5 (patch)
tree5aa435c94653b8efa7eb9e0ffa08db2b5064889c /src/intel/blorp/blorp.h
parent514afdce95e1c75a754412203425a8ac1282cd2d (diff)
intel/blorp: Add plumbing for setting color clear layer count
Signed-off-by: Topi Pohjolainen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r--src/intel/blorp/blorp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h
index 12f18332883..238e7c786ba 100644
--- a/src/intel/blorp/blorp.h
+++ b/src/intel/blorp/blorp.h
@@ -110,14 +110,14 @@ 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, enum isl_format format,
+ const struct blorp_surf *surf, enum isl_format format,
+ uint32_t level, uint32_t start_layer, uint32_t num_layers,
uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1);
void
blorp_clear(struct blorp_batch *batch,
const struct blorp_surf *surf,
- uint32_t level, uint32_t layer,
+ uint32_t level, uint32_t start_layer, uint32_t num_layers,
uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1,
enum isl_format format, union isl_color_value clear_color,
bool color_write_disable[4]);