aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-11 10:38:55 -0600
committerBrian Paul <[email protected]>2008-09-11 10:39:30 -0600
commit1b5331d7ebcf7b1a1693972cf13407184cab1e48 (patch)
tree01639ad5b3314db39137613675c2b07510eddb70 /src/gallium/drivers/cell
parent73c6ae98c1c60635883a733f36d59d246e74aa2a (diff)
cell: fix typos in blend code-gen
Diffstat (limited to 'src/gallium/drivers/cell')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_gen_fragment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_gen_fragment.c b/src/gallium/drivers/cell/ppu/cell_gen_fragment.c
index 7966c0916c7..79a82ef72b5 100644
--- a/src/gallium/drivers/cell/ppu/cell_gen_fragment.c
+++ b/src/gallium/drivers/cell/ppu/cell_gen_fragment.c
@@ -286,16 +286,16 @@ gen_blend(const struct pipe_blend_state *blend,
spe_roti(f, mask_reg, mask_reg, 8);
/* fbG = fbRGBA & mask */
- spe_and(f, fbB_reg, fbRGBA_reg, mask_reg);
+ spe_and(f, fbG_reg, fbRGBA_reg, mask_reg);
/* fbG = fbG >> 8 */
- spe_roti(f, fbB_reg, fbB_reg, -8);
+ spe_roti(f, fbG_reg, fbG_reg, -8);
/* mask = mask << 8 */
spe_roti(f, mask_reg, mask_reg, 8);
/* fbR = fbRGBA & mask */
spe_and(f, fbR_reg, fbRGBA_reg, mask_reg);
/* fbR = fbR >> 16 */
- spe_roti(f, fbB_reg, fbB_reg, -16);
+ spe_roti(f, fbR_reg, fbR_reg, -16);
/* mask = mask << 8 */
spe_roti(f, mask_reg, mask_reg, 8);