summaryrefslogtreecommitdiff
path: root/src/compiler/glsl/linker.cpp
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-10-20 13:02:22 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-10-24 15:24:23 +0200
commit3d6b5dee3a0c9c077d68e5567b95f22b627be07e (patch)
tree66692fef39b1003d2894e52a33c1cec2d9404b1e /src/compiler/glsl/linker.cpp
parent6dbe8a1b9fd750b4c1bb600a0bb43129d95e6eca (diff)
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>
Diffstat (limited to 'src/compiler/glsl/linker.cpp')
0 files changed, 0 insertions, 0 deletions