diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_shader.h | 18 |
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; |