diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-03-26 11:36:26 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-26 11:36:26 -0400 |
commit | 076e4e3ac1c81086aecb4e70dd30fd5d26ec7bc8 (patch) | |
tree | f8569194384bdf8cebee86b5e4d8ae3a318d80ae /src/r600_reg_r6xx.h | |
parent | d2c3964fe04be42fe538f36439ed5ffca96e436a (diff) |
R6xx/R7xx: clean up bool const code
3 regs: 1 bit per bool, 32 bools per ps/vs/gs
Diffstat (limited to 'src/r600_reg_r6xx.h')
-rw-r--r-- | src/r600_reg_r6xx.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/r600_reg_r6xx.h b/src/r600_reg_r6xx.h index 2e7dfa94..b4cc639a 100644 --- a/src/r600_reg_r6xx.h +++ b/src/r600_reg_r6xx.h @@ -488,7 +488,16 @@ enum { SQ_LOOP_CONST_ps = 0, SQ_LOOP_CONST_vs = SQ_LOOP_CONST_ps + SQ_LOOP_CONST_ps_num, SQ_LOOP_CONST_gs = SQ_LOOP_CONST_vs + SQ_LOOP_CONST_vs_num, -} ; + SQ_BOOL_CONST = SQ_BOOL_CONST_0, /* 32 bits per PS, VS, GS */ + SQ_BOOL_CONST_ps_num = 1, + SQ_BOOL_CONST_vs_num = 1, + SQ_BOOL_CONST_gs_num = 1, + SQ_BOOL_CONST_all_num = 3, + SQ_BOOL_CONST_offset = 4, + SQ_BOOL_CONST_ps = 0, + SQ_BOOL_CONST_vs = SQ_BOOL_CONST_ps + SQ_BOOL_CONST_ps_num, + SQ_BOOL_CONST_gs = SQ_BOOL_CONST_vs + SQ_BOOL_CONST_vs_num, +}; #endif |