draw: check for line_width != 1.0f in validate_pipeline()
authorBrian Paul <brianp@vmware.com>
Thu, 15 Jun 2017 17:29:38 +0000 (11:29 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 15 Jun 2017 19:53:00 +0000 (13:53 -0600)
commitc8f344ed2d471f0e012205aecfae4aa765d9fffb
treed893bf365abb0cd1fb1693c28b791b6a93cc26c2
parentc2b92dada076afc303e31e3d029256d234254c27
draw: check for line_width != 1.0f in validate_pipeline()

We shouldn't use the wide line stage if the line width is 1.
This check isn't strictly needed because all drivers are (now)
specifying a line wide threshold of at least 1.0 pixels, but
let's play it safe.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_validate.c