diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-29 17:44:47 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-11-29 18:10:20 -0500 |
commit | 3cae361d0448b6e231c80f53d64bdbbdd74dc4cf (patch) | |
tree | adc595d9f221f139fd179056430baf4fcf0bf670 /src/r600_shader.h | |
parent | d9bcac516f2a810acb300b29169e56a2df0b47ac (diff) |
6xx/7xx: clean up gpr/const handling in shaders
Diffstat (limited to 'src/r600_shader.h')
-rw-r--r-- | src/r600_shader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/r600_shader.h b/src/r600_shader.h index a68d6c2f..3d5acc74 100644 --- a/src/r600_shader.h +++ b/src/r600_shader.h @@ -193,6 +193,10 @@ // 128-159 kcache constants bank 0 // 160-191 kcache constants bank 1 // 248-255 special SQ_ALU_SRC_* (0, 1, etc.) +#define ALU_SRC_GPR_BASE 0 +#define ALU_SRC_KCACHE0_BASE 128 +#define ALU_SRC_KCACHE1_BASE 160 +#define ALU_SRC_CFILE_BASE 256 #define SRC0_REL(x) (x) #define SRC1_REL(x) (x) |