diff options
author | Brian Paul <[email protected]> | 2015-10-16 16:12:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-10-22 17:19:20 -0600 |
commit | 129d34da494840628b2bb1cbb6397d50dab3c999 (patch) | |
tree | 9064b2b6cf130588332dbfaa834e44d7d3bf7c37 /include/c11 | |
parent | 1082735bb69e9f64cb3991a52f0e270902917855 (diff) |
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 <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'include/c11')
0 files changed, 0 insertions, 0 deletions