From b1a89ea1abe1c69e3e0abcdfc2b525fe7f727864 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Fri, 16 Apr 2010 00:39:42 -0700 Subject: r300/compiler: Fix texture instruction readmasks. No immediate benefit, it was just bugging me. --- src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h') 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); -- cgit v1.2.3