summaryrefslogtreecommitdiff
path: root/progs/glsl
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-06-30 19:52:44 +0100
committerKeith Whitwell <keithw@vmware.com>2009-06-30 19:52:44 +0100
commit1fa4cde757cc94c0afa40d855309911247974e98 (patch)
tree0ad8a007b86bea133c49ab6d2e25432f699df79d /progs/glsl
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/glsl')
0 files changed, 0 insertions, 0 deletions