diff options
author | Brian Paul <[email protected]> | 2013-02-19 12:24:32 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-02-22 16:49:05 -0700 |
commit | 8589cc41b36b89bc80ad6a4f671e47f81a89d556 (patch) | |
tree | 01ccaf1c8ca55d8c3a3ec1bf70f4efc752c21591 /src/gallium | |
parent | 8b5acad0e985215b46fc1cfc8ad87c8771a11a3a (diff) |
st/mesa: fix trimming of GL_QUAD_STRIP
We sometimes convert GL_QUAD_STRIP prims into GL_TRIANGLE_STRIP, but
that changes the results of the u_trim_pipe_prim() call. We need to
pass the original primitive type to the trim function.
Note that OpenGL's GL_x prim type values match Gallium's PIPE_PRIM_x values.
Fixes a failure in the new piglit degenerate-prims test.
Note: This is a candidate for the stable branches.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions