summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_shader.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-03-05 15:07:39 +0100
committerChristian König <[email protected]>2013-03-07 10:03:22 +0100
commit0666ffddd2a7081fbf510904340df771a5e3fe98 (patch)
treebbccea4c243145808714f6b606d0dbc37049059f /src/gallium/drivers/radeonsi/radeonsi_shader.h
parentc497321d31290eaa92febf80eedb7e6ae71bb4e5 (diff)
radeonsi: rework input interpolation
Signed-off-by: Christian König <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.h b/src/gallium/drivers/radeonsi/radeonsi_shader.h
index 4c2be80d366..fe771cee660 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_shader.h
+++ b/src/gallium/drivers/radeonsi/radeonsi_shader.h
@@ -47,7 +47,23 @@
#define SI_PARAM_VERTEX_INDEX 4
/* PS only parameters */
-#define SI_PARAM_PRIM_MASK 3
+#define SI_PARAM_PRIM_MASK 3
+#define SI_PARAM_PERSP_SAMPLE 4
+#define SI_PARAM_PERSP_CENTER 5
+#define SI_PARAM_PERSP_CENTROID 6
+#define SI_PARAM_PERSP_PULL_MODEL 7
+#define SI_PARAM_LINEAR_SAMPLE 8
+#define SI_PARAM_LINEAR_CENTER 9
+#define SI_PARAM_LINEAR_CENTROID 10
+#define SI_PARAM_LINE_STIPPLE_TEX 11
+#define SI_PARAM_POS_X_FLOAT 12
+#define SI_PARAM_POS_Y_FLOAT 13
+#define SI_PARAM_POS_Z_FLOAT 14
+#define SI_PARAM_POS_W_FLOAT 15
+#define SI_PARAM_FRONT_FACE 16
+#define SI_PARAM_ANCILLARY 17
+#define SI_PARAM_SAMPLE_COVERAGE 18
+#define SI_PARAM_POS_FIXED_PT 19
struct si_shader_io {
unsigned name;