From 394672659ddc1175747bae29fbf9957365d61e4c Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu Date: Mon, 1 Mar 2010 01:48:29 +0100 Subject: [PATCH] dri/nouveau: Add two stencil operation cases in nv04_state_raster.c. Signed-off-by: Francisco Jerez --- src/mesa/drivers/dri/nouveau/nv04_state_raster.c | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.30.2