diff options
author | Karol Herbst <[email protected]> | 2019-01-14 18:36:37 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-03-05 22:28:29 +0100 |
commit | d0b47ec4df0eafe4f4afddc2a0594b392c27f426 (patch) | |
tree | d6fd1867040779845271c0e4c630d028c60b3b6b /src/compiler/shader_enums.h | |
parent | f48c6729650e0a81b1a12487188163ba351571c8 (diff) |
nir/vtn: add support for SpvBuiltInGlobalLinearId
v2: use formula with fewer operations
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.h')
-rw-r--r-- | src/compiler/shader_enums.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h index 1dff01484b5..fe26d03a920 100644 --- a/src/compiler/shader_enums.h +++ b/src/compiler/shader_enums.h @@ -600,6 +600,7 @@ typedef enum SYSTEM_VALUE_LOCAL_INVOCATION_ID, SYSTEM_VALUE_LOCAL_INVOCATION_INDEX, SYSTEM_VALUE_GLOBAL_INVOCATION_ID, + SYSTEM_VALUE_GLOBAL_INVOCATION_INDEX, SYSTEM_VALUE_WORK_GROUP_ID, SYSTEM_VALUE_NUM_WORK_GROUPS, SYSTEM_VALUE_LOCAL_GROUP_SIZE, |