summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-10-20 13:02:22 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-27 10:41:13 +0100
commit074ede8d4ff6e4e94b5be550ff38628b21940b2d (patch)
treecf887d1114ec01103855c8a95c19b0b0acc207db /src/gallium/state_trackers
parent497cf4a9d18ed67ee695bd7077d9d6e072fe2eb1 (diff)
downloadexternal_mesa3d-074ede8d4ff6e4e94b5be550ff38628b21940b2d.zip
external_mesa3d-074ede8d4ff6e4e94b5be550ff38628b21940b2d.tar.gz
external_mesa3d-074ede8d4ff6e4e94b5be550ff38628b21940b2d.tar.bz2
st/mesa: cleanup and fix primitive restart for indirect draws
There are three intended functional changes here: 1. OpenGL 4.5 clarifies that primitive restart should only apply with index buffers, so make that change explicit in the indirect draw path. 2. Make PrimitiveRestartFixedIndex work with indirect draws. 3. The change where primitive_restart is only set when the restart index can actually have an effect (based on the size of indices) is also applied for indirect draws. Cc: 13.0 <mesa-stable@lists.freedesktop.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 3d6b5dee3a0c9c077d68e5567b95f22b627be07e)
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions