diff options
author | Andrew Randrianasulu <[email protected]> | 2010-03-01 01:48:29 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-03-01 02:07:00 +0100 |
commit | 394672659ddc1175747bae29fbf9957365d61e4c (patch) | |
tree | 2968c0836626a0a0d43c70e8379f88fb02536b66 /src/mesa/drivers | |
parent | 949587d1692f4e528f54b598ffc22a1906e4baf3 (diff) |
dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.
Signed-off-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv04_state_raster.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv04_state_raster.c b/src/mesa/drivers/dri/nouveau/nv04_state_raster.c index 5e3788d1854..6d0b262a4d3 100644 --- a/src/mesa/drivers/dri/nouveau/nv04_state_raster.c +++ b/src/mesa/drivers/dri/nouveau/nv04_state_raster.c @@ -61,6 +61,10 @@ get_stencil_op(unsigned op) switch (op) { case GL_KEEP: return 0x1; + case GL_ZERO: + return 0x2; + case GL_REPLACE: + return 0x3; case GL_INCR: return 0x4; case GL_DECR: |