mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
draw: last_vertex_last is always true for GS and SO.
That is, OpenGL decomposition rule is assumed. There should be a pipe_context state to specify the rules.
This commit is contained in:
parent
a97419a3ba
commit
7b3beb2240
2 changed files with 3 additions and 9 deletions
|
|
@ -6,13 +6,10 @@
|
|||
|
||||
#define FUNC_ENTER \
|
||||
/* declare more local vars */ \
|
||||
struct draw_context *draw = gs->draw; \
|
||||
const unsigned prim = input_prims->prim; \
|
||||
const unsigned count = input_prims->count; \
|
||||
const boolean last_vertex_last = \
|
||||
!(draw->rasterizer->flatshade && \
|
||||
draw->rasterizer->flatshade_first); \
|
||||
const unsigned prim_flags = input_prims->flags; \
|
||||
const unsigned count = input_prims->count; \
|
||||
const boolean last_vertex_last = TRUE; \
|
||||
do { \
|
||||
debug_assert(input_prims->primitive_count == 1); \
|
||||
switch (prim) { \
|
||||
|
|
|
|||
|
|
@ -7,12 +7,9 @@
|
|||
|
||||
#define FUNC_ENTER \
|
||||
/* declare more local vars */ \
|
||||
struct draw_context *draw = so->draw; \
|
||||
const unsigned prim = input_prims->prim; \
|
||||
const boolean last_vertex_last = \
|
||||
!(draw->rasterizer->flatshade && \
|
||||
draw->rasterizer->flatshade_first); \
|
||||
const unsigned prim_flags = input_prims->flags; \
|
||||
const boolean last_vertex_last = TRUE; \
|
||||
do { \
|
||||
debug_assert(input_prims->primitive_count == 1); \
|
||||
switch (prim) { \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue