summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_context.h
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-03-12 03:41:05 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-03-12 03:41:05 +1100
commit06bd7d78b979df66915b161157f2b6b1c09ad285 (patch)
treec2ebb8333c9dbe1fe441a0f82d15daf739ad73b7 /src/gallium/drivers/nv50/nv50_context.h
parent9911ca2226cf87e2cc4ffc32e40bccaf0a4e5745 (diff)
nv50: depth_stencil_alpha stateobj
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h
index 98b9aba079..9302764894 100644
--- a/src/gallium/drivers/nv50/nv50_context.h
+++ b/src/gallium/drivers/nv50/nv50_context.h
@@ -22,13 +22,19 @@
#define NOUVEAU_MSG(fmt, args...) \
fprintf(stderr, "nouveau: "fmt, ##args);
-#define NV50_NEW_BLEND (1 << 0)
+#define NV50_NEW_BLEND (1 << 0)
+#define NV50_NEW_ZSA (1 << 1)
struct nv50_blend_stateobj {
struct pipe_blend_state pipe;
struct nouveau_stateobj *so;
};
+struct nv50_zsa_stateobj {
+ struct pipe_depth_stencil_alpha_state pipe;
+ struct nouveau_stateobj *so;
+};
+
struct nv50_context {
struct pipe_context pipe;
@@ -39,6 +45,7 @@ struct nv50_context {
unsigned dirty;
struct nv50_blend_stateobj *blend;
+ struct nv50_zsa_stateobj *zsa;
};
static INLINE struct nv50_context *