diff options
author | Brian Paul <[email protected]> | 2009-05-27 19:27:31 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-05-27 19:27:31 -0600 |
commit | 5d75124db480b37977c353511b4e228905b7cc95 (patch) | |
tree | b44c38ba4c4467ad7230446826cfc08a7667bc9e /src/gallium/drivers/softpipe/sp_context.h | |
parent | c13bd7488593263f2c45c136b63114ce8b4602fb (diff) |
softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON
Use the first vertex, not the last.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h index b89a7292e5b..2f90d538a59 100644 --- a/src/gallium/drivers/softpipe/sp_context.h +++ b/src/gallium/drivers/softpipe/sp_context.h @@ -107,6 +107,7 @@ struct softpipe_context { /** Which vertex shader output slot contains point size */ int psize_slot; + unsigned api_prim; /**< current prim type being drawn: PIPE_PRIM_x */ unsigned reduced_api_prim; /**< PIPE_PRIM_POINTS, _LINES or _TRIANGLES */ /** Derived from scissor and surface bounds: */ |