mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02: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,
|
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, } };
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue