diff options
author | Keith Whitwell <[email protected]> | 2009-11-19 20:40:41 -0800 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-19 20:40:41 -0800 |
commit | 95d7aca4b9963820e7ead81830340dbeb563897b (patch) | |
tree | 2e94c9c2e2b596eaac645aaede56d04be3e71f86 /src/gallium/drivers/i965 | |
parent | 9507a6c206627b3ae76e2ae8398fff518e39941a (diff) |
i965g: fix typo converting wm src regs
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r-- | src/gallium/drivers/i965/brw_wm_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_fp.c b/src/gallium/drivers/i965/brw_wm_fp.c index 0df84f8546c..174486a1011 100644 --- a/src/gallium/drivers/i965/brw_wm_fp.c +++ b/src/gallium/drivers/i965/brw_wm_fp.c @@ -1023,7 +1023,7 @@ static void emit_insn( struct brw_wm_compile *c, inst->Instruction.Saturate ); for (i = 0; i < inst->Instruction.NumSrcRegs; i++) - src[i] = translate_src( c, &inst->FullSrcRegisters[0] ); + src[i] = translate_src( c, &inst->FullSrcRegisters[i] ); switch (opcode) { case TGSI_OPCODE_ABS: |