Age | Commit message (Collapse) | Author |
|
|
|
If the determinant of the triangle is positive, its winding is CCW (right-handed coord system).
|
|
Improved comments for that loop.
Added some sanity check assertions regarding vertex layout.
|
|
Not really signficant now since draw_flat stage copies the provoking
vertex color to all prim verts.
|
|
|
|
|
|
right thing.
|
|
|
|
|
|
|
|
|
|
|
|
Don't bother trying to save a small memcpy.
|
|
|
|
This removes the notion of multiple color buffers from all other stages.
Will need a bit more work when shaders with multiple render targets arrive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The edge vectors were totally wrong.
Need to multiply bias units by the min resolvable depth delta.
|
|
|
|
|
|
|
|
|
|
Updated comments/questions about area vs. prim->det.
|
|
|
|
|
|
|
|
|
|
|
|
Need to use a new prim_header for the post-clipped line. Otherwise,
we were changing the header passed to us from the vb code. That messed
up the vertex pointers for the next line primitive.
|
|
|
|
|
|
|
|
Using floats (and float->ushort->float conversion) introduces errors.
Only GLushort depth buffers work for now...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|