diff options
author | Brian Paul <[email protected]> | 2009-02-12 16:03:39 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-13 17:18:36 -0700 |
commit | 97937e0ac8d5f46722af98ca40fba3f7a989d97d (patch) | |
tree | 0928ef262ce5171d8e9eecb7155433f3bb2138ec /src | |
parent | 2f2082bf16ca86b8ebea9e04b77011f74d09c3db (diff) |
i965: the return value of translate_insn() is never used. Make it void.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_pass0.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_pass0.c b/src/mesa/drivers/dri/i965/brw_wm_pass0.c index 590cd946ec3..3ade6aa6c36 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_pass0.c +++ b/src/mesa/drivers/dri/i965/brw_wm_pass0.c @@ -334,8 +334,9 @@ static struct brw_wm_ref *get_new_ref( struct brw_wm_compile *c, } -static struct brw_wm_instruction *translate_insn( struct brw_wm_compile *c, - const struct prog_instruction *inst ) +static void +translate_insn(struct brw_wm_compile *c, + const struct prog_instruction *inst) { struct brw_wm_instruction *out = get_instruction(c); GLuint writemask = inst->DstReg.WriteMask; @@ -365,8 +366,6 @@ static struct brw_wm_instruction *translate_insn( struct brw_wm_compile *c, pass0_set_dst_scalar(c, out, inst, writemask); else pass0_set_dst(c, out, inst, writemask); - - return out; } |