mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
intel/blorp: Make swizzle_color_value public.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
d97eddff25
commit
bd6f51ec21
2 changed files with 4 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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, } };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue