summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAndrew Randrianasulu <[email protected]>2010-03-01 23:58:17 +0000
committerFrancisco Jerez <[email protected]>2010-03-04 23:07:11 +0100
commit210bcf6d156aba5994f25f1bd9c50586ebc3bada (patch)
tree01c855a6adbbb388f0cb3936e6f62095ebf0f3c0 /src/mesa/drivers
parent9c21c1e865ad3008eb6f4d6d4e4a48c2ed94472d (diff)
dri/nouveau: Add GL_EXT_stencil_wrap for nv04.
Signed-off-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv04_state_raster.c4
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 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);
}