intel/blorp: Make swizzle_color_value public.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Mar 2019 15:41:06 +0000 (08:41 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Mar 2019 23:46:25 +0000 (16:46 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/blorp/blorp.h
src/intel/blorp/blorp_clear.c

index fd17f95c118ecad82adbbc28750fbcd11f2938ef..df48e91cecc8b840f1ece7885ab1d949f4726a90 100644 (file)
@@ -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,
index 657f5970d489e49d7c271d2ad4f1225233c0d01d..982028dd49d798b26310818207fd1f218c4144c6 100644 (file)
@@ -361,7 +361,7 @@ blorp_fast_clear(struct blorp_batch *batch,
    batch->blorp->exec(batch, &params);
 }
 
-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, } };