From: Andrew Randrianasulu Date: Mon, 1 Mar 2010 23:58:17 +0000 (+0000) Subject: dri/nouveau: Add GL_EXT_stencil_wrap for nv04. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=210bcf6d156aba5994f25f1bd9c50586ebc3bada;p=mesa.git dri/nouveau: Add GL_EXT_stencil_wrap for nv04. 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 89c6753694c..4314fc33cf4 100644 --- a/src/mesa/drivers/dri/nouveau/nv04_state_raster.c +++ b/src/mesa/drivers/dri/nouveau/nv04_state_raster.c @@ -71,6 +71,10 @@ get_stencil_op(unsigned op) return 0x5; case GL_INVERT: return 0x6; + case GL_INCR_WRAP: + return 0x7; + case GL_DECR_WRAP: + return 0x8; default: assert(0); }