projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallivm: cleanup the gs interface
[mesa.git]
/
src
/
gallium
/
auxiliary
/
draw
/
draw_gs_tmp.h
diff --git
a/src/gallium/auxiliary/draw/draw_gs_tmp.h
b/src/gallium/auxiliary/draw/draw_gs_tmp.h
index 4a17af0dea34bf542110b655ec7955d9e9f3699e..92b6fb75ea1a04d78d8f5d9116e3e66d499edf45 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_gs_tmp.h
+++ b/
src/gallium/auxiliary/draw/draw_gs_tmp.h
@@
-6,12
+6,11
@@
#define FUNC_ENTER \
/* declare more local vars */ \
#define FUNC_ENTER \
/* declare more local vars */ \
- struct draw_context *draw = gs->draw; \
const unsigned prim = input_prims->prim; \
const unsigned prim = input_prims->prim; \
+ const unsigned prim_flags = input_prims->flags; \
const unsigned count = input_prims->count; \
const unsigned count = input_prims->count; \
- const boolean last_vertex_last = \
- !(draw->rasterizer->flatshade && \
- draw->rasterizer->flatshade_first); \
+ const boolean quads_flatshade_last = FALSE; \
+ const boolean last_vertex_last = TRUE; \
do { \
debug_assert(input_prims->primitive_count == 1); \
switch (prim) { \
do { \
debug_assert(input_prims->primitive_count == 1); \
switch (prim) { \