commit | e3a34cc7f6c9f959cdc2af4486e84587fab4d0d7 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Mon Apr 19 08:35:53 2010 -0600 |
committer | Brian Paul <brianp@vmware.com> | Mon Apr 19 08:35:53 2010 -0600 |
tree | 437667e2b7da27f03c190bee6b67bff260af0733 | |
parent | db3b34219ef1dbf9ebf5e524d3e459f9ad9571b5 [diff] |
gallium/draw: use correct rasterization state for wide/AA points/lines When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.