compiler: Move from nir_scope to mesa_scope

Just moving the enum and performing renames, no behavior change.

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23328>
This commit is contained in:
Caio Oliveira
2023-05-30 12:05:30 -07:00
committed by Marge Bot
parent 4d26b38caf
commit 59cc77f0fa
52 changed files with 236 additions and 235 deletions

View File

@@ -1376,6 +1376,17 @@ typedef enum
NUM_TEXTURE_TARGETS
} gl_texture_index;
/* Ordered from narrower to wider scope. */
typedef enum {
SCOPE_NONE,
SCOPE_INVOCATION,
SCOPE_SUBGROUP,
SCOPE_SHADER_CALL,
SCOPE_WORKGROUP,
SCOPE_QUEUE_FAMILY,
SCOPE_DEVICE,
} mesa_scope;
#ifdef __cplusplus
} /* extern "C" */
#endif