mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
util: Expose util_format_fits_8unorm().
This commit is contained in:
parent
6e83420ee0
commit
9b69545c42
2 changed files with 4 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ util_format_write_4ub(enum pipe_format format, const uint8_t *src, unsigned src_
|
|||
}
|
||||
|
||||
|
||||
static INLINE boolean
|
||||
boolean
|
||||
util_format_fits_8unorm(const struct util_format_description *format_desc)
|
||||
{
|
||||
unsigned chan;
|
||||
|
|
|
|||
|
|
@ -663,6 +663,9 @@ util_format_write_4ub(enum pipe_format format,
|
|||
* Generic format conversion;
|
||||
*/
|
||||
|
||||
boolean
|
||||
util_format_fits_8unorm(const struct util_format_description *format_desc);
|
||||
|
||||
void
|
||||
util_format_translate(enum pipe_format dst_format,
|
||||
void *dst, unsigned dst_stride,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue