From fe622bac0c1b5b9f2a9fcf9f35b51232a06bea42 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 11 Jan 2011 00:05:08 -0800 Subject: 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. --- src/mesa/drivers/dri/r300/compiler/radeon_program.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_program.h') 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 -- cgit v1.2.3