summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_split.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-01-27 16:07:22 +0100
committerMathias Fröhlich <[email protected]>2018-02-01 22:39:05 +0100
commitf37e29ac224887f1b4f0cb7c61e47fb4bc6671e1 (patch)
tree4f4edf2b9a55b9a0e46e57fef0f935869f2fbf00 /src/mesa/vbo/vbo_split.h
parent7a044ef68b84ab850a2299462e03aedf94a3db02 (diff)
vbo: Correctly handle attribute offsets in dlist draw.
When executing a display list draw, for the offset list to be correct, the offset computation needs to accumulate all attribute size values in order. Specifically, if we are shuffling around the position and generic0 attributes, we may violate the order or if we do not walk the generic vbo attributes we may skip some of the attributes. Even if this is an unlikely usecase we can fix this use case by precomputing the offsets on the full attribute list and store the full offset list in the display list node. v2: Formatting fix v3: Rebase Signed-off-by: Mathias Fröhlich <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_split.h')
0 files changed, 0 insertions, 0 deletions