mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
libagx: add agx_2d grid helper
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35662>
This commit is contained in:
parent
349e802e78
commit
319a6259d9
1 changed files with 6 additions and 0 deletions
|
|
@ -79,6 +79,12 @@ agx_1d(uint32_t x)
|
|||
return agx_3d(x, 1, 1);
|
||||
}
|
||||
|
||||
static struct agx_grid
|
||||
agx_2d(uint32_t x, uint32_t y)
|
||||
{
|
||||
return agx_3d(x, y, 1);
|
||||
}
|
||||
|
||||
static struct agx_grid
|
||||
agx_grid_indirect(uint64_t ptr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue