OSDN Git Service

t_dd_dmatmp: Fix render_quad_strip_elts
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Jun 2014 19:15:01 +0000 (22:15 +0300)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:41 +0000 (21:48 +0800)
commit4578708445496a372c624df124502946f504343a
tree6fe4f1566def3c8c1f838d86b7e8876d88f32316
parent23d52349990fcaedccbcbaa5566113187f685a00
t_dd_dmatmp: Fix render_quad_strip_elts

Split the tri vs. tristrip paths in render_quad_strip_elts apart
and add the appropriate smooth vs. flat shading and provoking
vertex checks. Add the same checks to validate_render to make
sure we don't end up there under the wrong circumstances.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
src/mesa/tnl_dd/t_dd_dmatmp.h