mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
nil: Expose nil_pix_extent_sa()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28159>
This commit is contained in:
parent
418f8be9ea
commit
be1ef1a8d8
2 changed files with 3 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ nil_extent4d_align(struct nil_extent4d ext, struct nil_extent4d alignment)
|
|||
};
|
||||
}
|
||||
|
||||
static inline struct nil_extent4d
|
||||
struct nil_extent4d
|
||||
nil_px_extent_sa(enum nil_sample_layout sample_layout)
|
||||
{
|
||||
switch (sample_layout) {
|
||||
|
|
|
|||
|
|
@ -72,6 +72,8 @@ nil_extent4d(uint32_t w, uint32_t h, uint32_t d, uint32_t a)
|
|||
return e;
|
||||
}
|
||||
|
||||
struct nil_extent4d nil_px_extent_sa(enum nil_sample_layout sample_layout);
|
||||
|
||||
struct nil_extent4d
|
||||
nil_extent4d_px_to_el(struct nil_extent4d extent_px,
|
||||
enum pipe_format format,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue