diff options
author | Brian Paul <brianp@vmware.com> | 2015-10-16 16:12:19 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-10-22 17:19:20 -0600 |
commit | 129d34da494840628b2bb1cbb6397d50dab3c999 (patch) | |
tree | 9064b2b6cf130588332dbfaa834e44d7d3bf7c37 /src/gallium/auxiliary | |
parent | 1082735bb69e9f64cb3991a52f0e270902917855 (diff) | |
download | external_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