Makes code comparing and combining scopes slightly more readable.
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3224>
} nir_memory_semantics;
typedef enum {
- NIR_SCOPE_DEVICE,
- NIR_SCOPE_QUEUE_FAMILY,
- NIR_SCOPE_WORKGROUP,
- NIR_SCOPE_SUBGROUP,
NIR_SCOPE_INVOCATION,
+ NIR_SCOPE_SUBGROUP,
+ NIR_SCOPE_WORKGROUP,
+ NIR_SCOPE_QUEUE_FAMILY,
+ NIR_SCOPE_DEVICE,
} nir_scope;
/**