llvmpipe: Honour pipe_rasterizer::point_quad_rasterization.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 8 Jan 2014 17:19:41 +0000 (17:19 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 9 Jan 2014 12:35:11 +0000 (12:35 +0000)
commit9b96be595b93544266436ec3b22b2cbd349d180c
tree06c5bafb851d59ba998ffbaa63f6680b2eae865c
parentf46563fe1c8a5560e4de0adf03e3d8770b7fc734
llvmpipe: Honour pipe_rasterizer::point_quad_rasterization.

Commit eda21d2a3010d9fc5a68b55a843c5e44b2abf8dd fixed the rasterization
of points for Direct3D but ended up breaking the rasterization of OpenGL
non-sprite points, in particular conform's pntrast.c test.

The only way to get both working is to properly honour
pipe_rasterizer::point_quad_rasterization, and follow the weird OpenGL
rule when it is false.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup_point.c