llvmpipe: fill in debug vertex info for tri rasterization
authorRoland Scheidegger <sroland@vmware.com>
Fri, 23 Jun 2017 02:57:57 +0000 (04:57 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 23 Jun 2017 17:39:29 +0000 (19:39 +0200)
commit672d245ffe85e85afe6ddd36868c145bb528c79b
treead5909596fe051658e3acc3c36ed1ff105ccd947
parentc2f82fc1d3c401cf44fb94aa3ea531ca9cd0cb46
llvmpipe: fill in debug vertex info for tri rasterization

This is pretty useful for debugging rasterization issues, so turn it on
based on DEBUG (the actual existence of the fields is also conditionalized
on DEBUG, lines fill it out the same too).

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup_tri.c