blob: e80a9c7f159792d8de08aefe37c5cdf6e77646c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#define FUNC_VARS \
struct draw_pt_front_end *frontend, \
unsigned start, \
unsigned count
#define LOCAL_VARS \
struct vcache_frontend *vcache = (struct vcache_frontend *) frontend; \
struct draw_context *draw = vcache->draw; \
const unsigned prim = vcache->input_prim; \
const void *elts = draw_pt_elt_ptr(draw, start); \
pt_elt_func get_elt = draw_pt_elt_func(draw); \
const int elt_bias = draw->pt.user.eltBias; \
const boolean last_vertex_last = !(draw->rasterizer->flatshade && \
draw->rasterizer->flatshade_first); \
const unsigned prim_flags = 0x0;
#define GET_ELT(idx) (get_elt(elts, idx) + elt_bias)
#define FUNC_EXIT do { vcache_flush(vcache); } while (0)
#include "draw_decompose_tmp.h"
|