diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-04-16 00:39:42 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-04-16 00:43:18 -0700 |
commit | b1a89ea1abe1c69e3e0abcdfc2b525fe7f727864 (patch) | |
tree | 69c2040d87c89634ab93f5bb5b48548f01224efc /src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h | |
parent | 2c5b35807eb506a1f7a4fc675f5644ae2f675d84 (diff) |
r300/compiler: Fix texture instruction readmasks.
No immediate benefit, it was just bugging me.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h b/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h index a3c5b86954..1c9b34df78 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h +++ b/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h @@ -227,8 +227,10 @@ static inline const struct rc_opcode_info * rc_get_opcode_info(rc_opcode opcode) return &rc_opcodes[opcode]; } +struct rc_instruction; + void rc_compute_sources_for_writemask( - const struct rc_opcode_info * opcode, + const struct rc_instruction *inst, unsigned int writemask, unsigned int *srcmasks); |