i965: Use gs_prog_data in is_drawing_points/lines().
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Aug 2016 05:52:22 +0000 (22:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 31 Aug 2016 18:50:15 +0000 (11:50 -0700)
commit4c116cbafb086653e3fcfb78128cc04b8c9264b1
tree520d38ecc3e3b55b099deb9a2d4ea869d9d38c12
parentcd19db4ee61b6182b31ef8dfa1981ea59cfa34c4
i965: Use gs_prog_data in is_drawing_points/lines().

State upload code should use prog_data rather than poking at core
Mesa shader data structures wherever possible.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c
src/mesa/drivers/dri/i965/gen8_sf_state.c