aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/shader_enums.c4
-rw-r--r--src/compiler/shader_enums.h8
2 files changed, 10 insertions, 2 deletions
diff --git a/src/compiler/shader_enums.c b/src/compiler/shader_enums.c
index 6f61728032a..977be6b89e0 100644
--- a/src/compiler/shader_enums.c
+++ b/src/compiler/shader_enums.c
@@ -254,6 +254,10 @@ gl_system_value_name(gl_system_value sysval)
ENUM(SYSTEM_VALUE_BARYCENTRIC_PERSP_SAMPLE),
ENUM(SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID),
ENUM(SYSTEM_VALUE_BARYCENTRIC_PERSP_SIZE),
+ ENUM(SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL),
+ ENUM(SYSTEM_VALUE_BARYCENTRIC_LINEAR_CENTROID),
+ ENUM(SYSTEM_VALUE_BARYCENTRIC_LINEAR_SAMPLE),
+ ENUM(SYSTEM_VALUE_BARYCENTRIC_PULL_MODEL),
ENUM(SYSTEM_VALUE_GS_HEADER_IR3),
ENUM(SYSTEM_VALUE_TCS_HEADER_IR3),
};
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index 29b88c9cd43..bf10a14a881 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -630,8 +630,8 @@ typedef enum
SYSTEM_VALUE_VERTEX_CNT,
/**
- * Driver internal varying-coords, used for varying-fetch instructions.
- * Not externally visible.
+ * Required for AMD_shader_explicit_vertex_parameter and also used for
+ * varying-fetch instructions.
*
* The _SIZE value is "primitive size", used to scale i/j in primitive
* space to pixel space.
@@ -640,6 +640,10 @@ typedef enum
SYSTEM_VALUE_BARYCENTRIC_PERSP_SAMPLE,
SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID,
SYSTEM_VALUE_BARYCENTRIC_PERSP_SIZE,
+ SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL,
+ SYSTEM_VALUE_BARYCENTRIC_LINEAR_CENTROID,
+ SYSTEM_VALUE_BARYCENTRIC_LINEAR_SAMPLE,
+ SYSTEM_VALUE_BARYCENTRIC_PULL_MODEL,
/**
* IR3 specific geometry shader and tesselation control shader system