aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/compiler/radeon_program_constants.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2011-06-15 08:00:53 -0700
committerTom Stellard <[email protected]>2011-09-16 17:35:46 -0700
commite945fb04d04c33da5e77d22d739c5740a522a61e (patch)
tree0665be036c5a639b30a0a5707ca94c35a63e38df /src/gallium/drivers/r300/compiler/radeon_program_constants.h
parent1e5aaaa138d87a3e3bc53f6e4c18b1842b752dea (diff)
r300/compiler: Add support for the output modifier (OMOD)
Diffstat (limited to 'src/gallium/drivers/r300/compiler/radeon_program_constants.h')
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_program_constants.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/compiler/radeon_program_constants.h b/src/gallium/drivers/r300/compiler/radeon_program_constants.h
index 24577333450..4f59c47815e 100644
--- a/src/gallium/drivers/r300/compiler/radeon_program_constants.h
+++ b/src/gallium/drivers/r300/compiler/radeon_program_constants.h
@@ -170,6 +170,17 @@ typedef enum {
RC_PRESUB_INV
} rc_presubtract_op;
+typedef enum {
+ RC_OMOD_MUL_1,
+ RC_OMOD_MUL_2,
+ RC_OMOD_MUL_4,
+ RC_OMOD_MUL_8,
+ RC_OMOD_DIV_2,
+ RC_OMOD_DIV_4,
+ RC_OMOD_DIV_8,
+ RC_OMOD_DISABLE
+} rc_omod_op;
+
static inline int rc_presubtract_src_reg_count(rc_presubtract_op op){
switch(op){
case RC_PRESUB_BIAS: