swr: Add polygon stipple support
authorGeorge Kyriazis <george.kyriazis@intel.com>
Sat, 1 Apr 2017 01:09:57 +0000 (20:09 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 14 Apr 2017 22:08:12 +0000 (17:08 -0500)
commitd7a1f01db36f32f8fbf47535d3969bcb57dae91d
treee6d46282268d9fa4dddb487c0286370f26085b25
parent8973ae3162aec112b22cdf58f47d0ee12c4a09cd
swr: Add polygon stipple support

Add polygon stipple functionality to the fragment shader.

Explicitly turn off polygon stipple for lines and points, since we
do them using tris.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/swr_context.h
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_shader.h
src/gallium/drivers/swr/swr_state.cpp
src/gallium/drivers/swr/swr_state.h