diff options
author | Chia-I Wu <[email protected]> | 2013-05-02 14:12:27 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-05-03 11:59:10 +0800 |
commit | 90d5190594c57c5f5ac63442ff526b312ea79744 (patch) | |
tree | 89abfea7ce73c38a05a54ad21f2f1a89208d8f44 /src/gallium/auxiliary/util/u_surface.h | |
parent | 30671cecc0817ffe59b47e8f70b584bb55447f5d (diff) |
util/prim: assorted fixes for u_decomposed_prims_for_vertices()
Switch to '>=' for comparisons, and it becomes obvious that the comparison for
PIPE_PRIM_QUAD_STRIP was wrong.
Add minimum vertex count check for PIPE_PRIM_LINE_LOOP. Return 1 for
PIPE_PRIM_POLYGON with 3 vertices.
Signed-off-by: Chia-I Wu <[email protected]>
Acked-by: Zack Rusin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.h')
0 files changed, 0 insertions, 0 deletions