mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 09:00:10 +01:00
libagx: add agx_barrier enum
trivial for now, but eventually this will describe interesting things :-) Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32980>
This commit is contained in:
parent
b016f218fb
commit
4955a68a03
1 changed files with 11 additions and 0 deletions
|
|
@ -97,6 +97,17 @@ agx_is_indirect(struct agx_grid grid)
|
||||||
return grid.mode != AGX_CDM_MODE_DIRECT;
|
return grid.mode != AGX_CDM_MODE_DIRECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum agx_barrier {
|
||||||
|
/* No barrier/cache operations needed */
|
||||||
|
AGX_BARRIER_NONE = 0,
|
||||||
|
|
||||||
|
/* Catch-all for all defined barriers. Because we have not yet
|
||||||
|
* reverse-engineered the finer details here, this is the only barrier we
|
||||||
|
* have....
|
||||||
|
*/
|
||||||
|
AGX_BARRIER_ALL = (1 << 0),
|
||||||
|
};
|
||||||
|
|
||||||
struct agx_draw {
|
struct agx_draw {
|
||||||
struct agx_grid b;
|
struct agx_grid b;
|
||||||
uint64_t index_buffer;
|
uint64_t index_buffer;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue