r600: introduce HW shader stage defines

Add a list of defines for the HW stages.

We will use this for GPR calculations amongst other things.

Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2015-11-30 13:12:45 +10:00
parent bd71f3e4fe
commit d1b90839c0
1 changed files with 11 additions and 0 deletions

View File

@ -81,6 +81,17 @@
*/
#define R600_MAX_CONST_BUFFER_SIZE (4096 * sizeof(float[4]))
/* HW stages */
#define R600_HW_STAGE_PS 0
#define R600_HW_STAGE_VS 1
#define R600_HW_STAGE_GS 2
#define R600_HW_STAGE_ES 3
#define EG_HW_STAGE_LS 4
#define EG_HW_STAGE_HS 5
#define R600_NUM_HW_STAGES 4
#define EG_NUM_HW_STAGES 6
#ifdef PIPE_ARCH_BIG_ENDIAN
#define R600_BIG_ENDIAN 1
#else