diff options
author | Jason Ekstrand <[email protected]> | 2017-03-21 15:22:10 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-03 11:25:46 -0700 |
commit | bb41d9a1d30c243b8690165cd465c53517c6a35d (patch) | |
tree | 0eb82dba200451d632bdd273b76f97b115c5f8d4 /src/compiler/shader_enums.h | |
parent | fcf941068e67ca0483dc453dd27992e2cd27ea21 (diff) |
compiler: Add a system value and varying for ViewIndex
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.h')
-rw-r--r-- | src/compiler/shader_enums.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h index 930d99748e7..07db4767f86 100644 --- a/src/compiler/shader_enums.h +++ b/src/compiler/shader_enums.h @@ -217,6 +217,7 @@ typedef enum VARYING_SLOT_TESS_LEVEL_INNER, /* Only appears as TCS output. */ VARYING_SLOT_BOUNDING_BOX0, /* Only appears as TCS output. */ VARYING_SLOT_BOUNDING_BOX1, /* Only appears as TCS output. */ + VARYING_SLOT_VIEW_INDEX, VARYING_SLOT_VAR0, /* First generic varying slot */ /* the remaining are simply for the benefit of gl_varying_slot_name() * and not to be construed as an upper bound: @@ -535,6 +536,9 @@ typedef enum SYSTEM_VALUE_LOCAL_GROUP_SIZE, /*@}*/ + /** Required for VK_KHX_multiview */ + SYSTEM_VALUE_VIEW_INDEX, + /** * Driver internal vertex-count, used (for example) for drivers to * calculate stride for stream-out outputs. Not externally visible. |