summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_context.h
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-04-28 15:42:19 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-04-28 19:25:40 +1000
commit58b1bcaa094ed07a54bd7e4cdbddbcdcf1f629a7 (patch)
tree49e9b1ec370994abc3f691ef6946a053ab238763 /src/gallium/drivers/nv40/nv40_context.h
parent2193578851b3b5a99c078b28187cf3158f4218f6 (diff)
nv40: do full swtnl fallback when edge flags present.
This isn't necessary, with some effort we can do this on the hw. However, until I encounter something "real" that uses them there's not a lot of point.
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_context.h')
-rw-r--r--src/gallium/drivers/nv40/nv40_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_context.h b/src/gallium/drivers/nv40/nv40_context.h
index 2f10540ff0..24e8cd2337 100644
--- a/src/gallium/drivers/nv40/nv40_context.h
+++ b/src/gallium/drivers/nv40/nv40_context.h
@@ -155,6 +155,7 @@ struct nv40_context {
unsigned vtxbuf_nr;
struct pipe_vertex_element vtxelt[PIPE_MAX_ATTRIBS];
unsigned vtxelt_nr;
+ const unsigned *edgeflags;
};
static INLINE struct nv40_context *