Less typing than ((uint64_t)1 << SYSTEM_VALUE_PRIMITIVE_ID). --- src/compiler/shader_enums.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h index ac83c65b30c..33a9d3d8a1d 100644 --- a/src/compiler/shader_enums.h +++ b/src/compiler/shader_enums.h @@ -332,6 +332,7 @@ const char *gl_varying_slot_name(gl_varying_slot slot); #define SYSTEM_BIT_SAMPLE_POS ((uint64_t)1 << SYSTEM_VALUE_SAMPLE_POS) #define SYSTEM_BIT_SAMPLE_MASK_IN ((uint64_t)1 << SYSTEM_VALUE_SAMPLE_MASK_IN) #define SYSTEM_BIT_LOCAL_INVOCATION_ID ((uint64_t)1 << SYSTEM_VALUE_LOCAL_INVOCATION_ID) +#define SYSTEM_BIT_PRIMITIVE_ID ((uint64_t)1 << SYSTEM_VALUE_PRIMITIVE_ID) /** * If the gl_register_file is PROGRAM_SYSTEM_VALUE, the register index will be -- 2.16.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev