OSDN Git Service

llvmpipe: We don't use the draw pipeline for offset_point/line.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 10 Oct 2013 00:00:35 +0000 (17:00 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 10 Oct 2013 04:09:07 +0000 (21:09 -0700)
commit1aef0ef2771d2b83e057e3fe91067fc6e7cb6652
tree9277e37f3f946f673a3208cb1dbf2971e4960e08
parent9b3dbaf3962106be18df0f9c5d27dd993f09fe88
llvmpipe: We don't use the draw pipeline for offset_point/line.

Unless the polygon fill mode is different from PIPE_POLYGON_MODE_FILL,
so checking the the polygon mode is sufficient.

Testing done: no regression in polygon-mode-offset
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_rasterizer.c