diff options
-rw-r--r-- | src/intel/blorp/blorp.h | 3 | ||||
-rw-r--r-- | src/intel/blorp/blorp_clear.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index fd17f95c118..df48e91cecc 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -160,6 +160,9 @@ blorp_buffer_copy(struct blorp_batch *batch, struct blorp_address dst, uint64_t size); +union isl_color_value +swizzle_color_value(union isl_color_value src, struct isl_swizzle swizzle); + void blorp_fast_clear(struct blorp_batch *batch, const struct blorp_surf *surf, enum isl_format format, diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index 657f5970d48..982028dd49d 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@ -361,7 +361,7 @@ blorp_fast_clear(struct blorp_batch *batch, batch->blorp->exec(batch, ¶ms); } -static union isl_color_value +union isl_color_value swizzle_color_value(union isl_color_value src, struct isl_swizzle swizzle) { union isl_color_value dst = { .u32 = { 0, } }; |