In general, the point/line/triangle functions interpolate/emit the attributes specified by swrast->_ActiveAttribs (i.e. FRAT_BIT_* values). Some things don't fit into that, though, so we have these flags.
Defines | |
#define | SPAN_RGBA 0x01 |
interpMask and arrayMask | |
#define | SPAN_INDEX 0x02 |
interpMask and arrayMask | |
#define | SPAN_Z 0x04 |
interpMask and arrayMask | |
#define | SPAN_FLAT 0x08 |
interpMask: flat shading? | |
#define | SPAN_XY 0x10 |
array.x[], y[] valid? | |
#define | SPAN_MASK 0x20 |
was array.mask[] filled in by caller? | |
#define | SPAN_LAMBDA 0x40 |
array.lambda[] valid? | |
#define | SPAN_COVERAGE 0x80 |
array.coverage[] valid? |
#define SPAN_COVERAGE 0x80 |
array.coverage[] valid?
#define SPAN_FLAT 0x08 |
interpMask: flat shading?
#define SPAN_INDEX 0x02 |
interpMask and arrayMask
#define SPAN_LAMBDA 0x40 |
array.lambda[] valid?
#define SPAN_MASK 0x20 |
was array.mask[] filled in by caller?
#define SPAN_RGBA 0x01 |
interpMask and arrayMask
#define SPAN_XY 0x10 |
array.x[], y[] valid?
#define SPAN_Z 0x04 |
interpMask and arrayMask