diff options
author | Francisco Jerez <[email protected]> | 2010-09-25 15:29:02 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-09-30 16:48:28 +0200 |
commit | 065163bcd2df12494ca523538736282fc847fa6b (patch) | |
tree | 55e7f40e3405c2a08a86a803df45d34cc0163133 /src/mesa/drivers/dri/nouveau/nv10_driver.h | |
parent | bdd19da2183c685056c4c2eee5cea8358d9935cb (diff) |
dri/nv10: Use fast Z clears.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv10_driver.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_driver.h | 8 |
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 cefd6c6fba8..340ba05adee 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); |