Mesa (gallium-dynamicstencilref): cell: re-fix undeclared var

Brian Paul brianp at kemper.freedesktop.org
Fri Feb 12 16:49:56 UTC 2010


Module: Mesa
Branch: gallium-dynamicstencilref
Commit: 0ad0d8125a1882701dac416d1889e7721a58ee8a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad0d8125a1882701dac416d1889e7721a58ee8a

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Feb 12 09:47:34 2010 -0700

cell: re-fix undeclared var

---

 src/gallium/drivers/cell/ppu/cell_gen_fragment.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/cell/ppu/cell_gen_fragment.c b/src/gallium/drivers/cell/ppu/cell_gen_fragment.c
index 8915dd1..0282aa4 100644
--- a/src/gallium/drivers/cell/ppu/cell_gen_fragment.c
+++ b/src/gallium/drivers/cell/ppu/cell_gen_fragment.c
@@ -1555,7 +1555,7 @@ gen_stencil_depth_test(struct spe_function *f,
    int stencil_writemask_reg;
    int zmask_reg;
    int newS_reg;
-   unsigned stencil_value;
+   unsigned ref_value;
 
    /* Stenciling is quite complex: up to six different configurable stencil 
     * operations/calculations can be required (three each for front-facing




More information about the mesa-commit mailing list