summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/glapi_getproc.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-10-08 17:06:05 +0100
committerKeith Whitwell <keithw@vmware.com>2010-10-08 17:30:08 +0100
commit29d6a1483d6c4ecb9c34989423e025b3784ec019 (patch)
tree9049e626e46035f64e27fcb30983f6e30ffd2c5d /src/mapi/glapi/glapi_getproc.c
parentad6730fadbbeacea96322e31064ede9ea7ebad6f (diff)
llvmpipe: avoid overflow in triangle culling
Avoid multiplying fixed-point values. Calculate triangle area in floating point use that for culling. Lift area calculations up a level as we are already doing this in the triangle_both() case. Would like to share the calculated area with attribute interpolation, but the way the code is structured makes this difficult.
Diffstat (limited to 'src/mapi/glapi/glapi_getproc.c')
0 files changed, 0 insertions, 0 deletions