From: Andrew Randrianasulu Date: Mon, 1 Mar 2010 00:48:29 +0000 (+0100) Subject: dri/nouveau: Add two stencil operation cases in nv04_state_raster.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=394672659ddc1175747bae29fbf9957365d61e4c;p=mesa.git dri/nouveau: Add two stencil operation cases in nv04_state_raster.c. Signed-off-by: Francisco Jerez --- 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: