intel/blorp: Make swizzle_color_value public.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -160,6 +160,9 @@ blorp_buffer_copy(struct blorp_batch *batch,
|
|||||||
struct blorp_address dst,
|
struct blorp_address dst,
|
||||||
uint64_t size);
|
uint64_t size);
|
||||||
|
|
||||||
|
union isl_color_value
|
||||||
|
swizzle_color_value(union isl_color_value src, struct isl_swizzle swizzle);
|
||||||
|
|
||||||
void
|
void
|
||||||
blorp_fast_clear(struct blorp_batch *batch,
|
blorp_fast_clear(struct blorp_batch *batch,
|
||||||
const struct blorp_surf *surf, enum isl_format format,
|
const struct blorp_surf *surf, enum isl_format format,
|
||||||
|
@@ -361,7 +361,7 @@ blorp_fast_clear(struct blorp_batch *batch,
|
|||||||
batch->blorp->exec(batch, ¶ms);
|
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)
|
swizzle_color_value(union isl_color_value src, struct isl_swizzle swizzle)
|
||||||
{
|
{
|
||||||
union isl_color_value dst = { .u32 = { 0, } };
|
union isl_color_value dst = { .u32 = { 0, } };
|
||||||
|
Reference in New Issue
Block a user