summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-19 20:40:41 -0800
committerKeith Whitwell <[email protected]>2009-11-19 20:40:41 -0800
commit95d7aca4b9963820e7ead81830340dbeb563897b (patch)
tree2e94c9c2e2b596eaac645aaede56d04be3e71f86 /src
parent9507a6c206627b3ae76e2ae8398fff518e39941a (diff)
i965g: fix typo converting wm src regs
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i965/brw_wm_fp.c2
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: