diff options
author | Zack Rusin <[email protected]> | 2013-05-25 01:46:16 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-05-25 09:49:20 -0400 |
commit | c08baef508a109cdd49d2ebbc2cd0a8cc94117d3 (patch) | |
tree | 7f857ae90b984fc6a3573ec540fd27947ba32820 /src/gallium/auxiliary/draw/draw_gs.h | |
parent | c88ce3480c715ab40f4d488c86c90213b1472613 (diff) |
draw: make sure viewport index is fetched from leading vertex
Viewport index should only be used on a per primitive basis, so
instead of fetching it from each vertex, potentially making each
vertex in a primitive use a different viewport index, which is
obviously broken, make sure that we only fetch from the first
vertex in the primitive making the viewport index the same
for the entire primtive.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: José Fonseca<[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.h')
0 files changed, 0 insertions, 0 deletions