summaryrefslogtreecommitdiffstats
path: root/progs/trivial/Makefile
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-06-30 19:52:44 +0100
committerKeith Whitwell <[email protected]>2009-06-30 19:52:44 +0100
commit1fa4cde757cc94c0afa40d855309911247974e98 (patch)
tree0ad8a007b86bea133c49ab6d2e25432f699df79d /progs/trivial/Makefile
parent70ae7ba818e9d8a5485653b258e76f06c988654c (diff)
mesa/vbo: fix compile and replay of nodes ending in a FALLBACK
Where vbo save nodes are terminated with a call to DO_FALLBACK(), as in the case of a recursive CallList which is itself within a Begin/End pair, there two problems: 1) The display list node's primitive information was incorrect, stating the cut-off prim had zero vertices 2) On replay, we would get confused by a primitive that started in a node, but was terminated by individual opcodes. This change fixes the first problem by correctly terminating the last primitive on fallback, and the second by forcing the display list to use the Loopback path, converting all nodes into immediate-mode rendering. The loopback fix is a performance hit, but avoiding this would require a fairly large rework of this code.
Diffstat (limited to 'progs/trivial/Makefile')
-rw-r--r--progs/trivial/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/trivial/Makefile b/progs/trivial/Makefile
index bef1a57cd29..3bd8faff99a 100644
--- a/progs/trivial/Makefile
+++ b/progs/trivial/Makefile
@@ -24,6 +24,7 @@ SOURCES = \
dlist-tri-flat-tri.c \
dlist-tri-mat-tri.c \
dlist-recursive-call.c \
+ dlist-begin-call-end.c \
dlist-edgeflag-dangling.c \
dlist-edgeflag.c \
dlist-degenerate.c \