diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-03-12 12:13:53 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-03-15 23:07:30 -0700 |
commit | 61c65a6c7e809e61bfaf5f84240bfc62d5adcf52 (patch) | |
tree | c6387adb38f7d0d4baca2c8822e5fb13387d0971 /src/gallium/drivers/r300/r300_state_shader.h | |
parent | c5742cab195a77b2a075950f9d7812faeacb6621 (diff) |
r300-gallium: r500-fs: Add writemasks and some flexibility for MOV/SWZ.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_shader.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_shader.h b/src/gallium/drivers/r300/r300_state_shader.h index 5dd3584459..87a5c99648 100644 --- a/src/gallium/drivers/r300/r300_state_shader.h +++ b/src/gallium/drivers/r300/r300_state_shader.h @@ -54,6 +54,8 @@ #define R500_SWIZ_ALPHA_C(x) ((x) << 27) /* Writemasks */ #define R500_TEX_WMASK(x) ((x) << 11) +#define R500_ALU_WMASK(x) ((x) << 11) +#define R500_ALU_OMASK(x) ((x) << 15) /* Temporary struct used to hold assembly state while putting together * fragment programs. */ |