summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nv10_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv10_driver.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_driver.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_driver.h b/src/mesa/drivers/dri/nouveau/nv10_driver.h
index cefd6c6fba..340ba05ade 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_driver.h
+++ b/src/mesa/drivers/dri/nouveau/nv10_driver.h
@@ -27,6 +27,11 @@
#ifndef __NV10_DRIVER_H__
#define __NV10_DRIVER_H__
+enum {
+ NOUVEAU_STATE_ZCLEAR = NUM_NOUVEAU_STATE,
+ NUM_NV10_STATE
+};
+
#define NV10_TEXTURE_UNITS 2
/* nv10_context.c */
@@ -52,6 +57,9 @@ nv10_emit_scissor(GLcontext *ctx, int emit);
void
nv10_emit_viewport(GLcontext *ctx, int emit);
+void
+nv10_emit_zclear(GLcontext *ctx, int emit);
+
/* nv10_state_polygon.c */
void
nv10_emit_cull_face(GLcontext *ctx, int emit);