llvmpipe: fix large point rasterization with point_quad_rasterization
authorRoland Scheidegger <sroland@vmware.com>
Fri, 17 Jan 2014 01:12:20 +0000 (02:12 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 17 Jan 2014 16:01:01 +0000 (17:01 +0100)
commit3b64714da48f1654dbbf6ef5b4abe5b0c5952a9e
tree07bc69f2167f1a00c0197bd77fa0c3ddfe7090a2
parent4b9bcf31f47c4530f22cbbaca73491d01e44a9d4
llvmpipe: fix large point rasterization with point_quad_rasterization

The whole round-pointsize-to-int stuff must only be done with GL legacy
rules (no point_quad_rasterization) or all the wrong edges are lit up.
This was previously in a private branch (d3d pointsprite test complains
loudly otherwise) and got lost in a merge. However, it should certainly
apply to GL point sprite rasterization as well.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup_point.c