diff options
author | Tom Stellard <tstellar@gmail.com> | 2011-01-11 00:05:08 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@gmail.com> | 2011-04-30 11:00:15 -0700 |
commit | fe622bac0c1b5b9f2a9fcf9f35b51232a06bea42 (patch) | |
tree | 719e7ff230879070e215fc0f2f68f028d0cbe7fb /src/mesa/drivers/dri/r300/compiler/radeon_program.h | |
parent | e4a765ae2de21dada2e1206baf6b17a381193b42 (diff) |
r300/compiler: Rewrite register allocator
The new allocator uses ra and does swizzle packing.
Also, a data structure (struct rc_variable) and associated functions have
been added for generating UD and DU chains.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_program.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_program.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_program.h b/src/mesa/drivers/dri/r300/compiler/radeon_program.h index a07f6b63c6e..b899eccbf53 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_program.h +++ b/src/mesa/drivers/dri/r300/compiler/radeon_program.h @@ -108,6 +108,9 @@ struct rc_sub_instruction { /** True if tex instruction should do shadow comparison */ unsigned int TexShadow:1; + + /**R500 Only. How to swizzle the result of a TEX lookup*/ + unsigned int TexSwizzle:12; /*@}*/ /** This holds information about the presubtract operation used by |