summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/norm_args.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-17 15:15:54 -0700
committerBrian Paul <[email protected]>2018-01-18 15:07:17 -0700
commit9e6efdd1776cb76386d8aa774926c77aa2db7804 (patch)
treef704b00b1bd0a7b3a919a6276038cb462bbe8ba6 /src/mesa/x86/norm_args.h
parent26bde1e354041558aae7b2ab004531055b4562b6 (diff)
vbo: fix VBO optimization regression
The optimization in change 8e4efdc895ea ("vbo: optimize some display list drawing") missed the loopback case. This is used when the glBegin/End primitive doesn't have a uniform set of vertex attributes. The new Piglit gl-1.0-dlist-materials test hits this. So check the aligned_vertex_buffer_offset(list) value and adjust the buffer offset accordingly. We also need to remove the 'start == 0' assertion in the loopback code since it no longer applies. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/x86/norm_args.h')
0 files changed, 0 insertions, 0 deletions