summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-10-16 16:12:19 -0600
committerBrian Paul <brianp@vmware.com>2015-10-22 17:19:20 -0600
commit129d34da494840628b2bb1cbb6397d50dab3c999 (patch)
tree9064b2b6cf130588332dbfaa834e44d7d3bf7c37 /src/gallium/auxiliary
parent1082735bb69e9f64cb3991a52f0e270902917855 (diff)
downloadexternal_mesa3d-129d34da494840628b2bb1cbb6397d50dab3c999.zip
external_mesa3d-129d34da494840628b2bb1cbb6397d50dab3c999.tar.gz
external_mesa3d-129d34da494840628b2bb1cbb6397d50dab3c999.tar.bz2
svga: avoid provoking vertex conversion when possible
Provoking vertex comes into play when doing flat shading. But if we know that all fragments in a primitive are the same color, the provoking vertex doesn't matter. Check for that case and use whichever provoking vertex convention is supported by the device. This avoids generating an index buffer to do the PV conversion. Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions