i965: Account for TES in is_drawing_points().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Mar 2016 08:00:18 +0000 (01:00 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Mar 2016 23:44:15 +0000 (16:44 -0700)
commit8679d40dc792df76e292194ec443b33444c1d4a3
treed3dbcecd7c230b5ad306655c2b20164a4a7ea98e
parent1282146d4e41eb3b73678a71389706f16c245979
i965: Account for TES in is_drawing_points().

Now that we implement tessellation shaders, the TES might be the last
stage enabled.  If it's outputting points, then the primitive type
reaching the SF is points.  We need to account for this.

Caught by Ilia Mirkin.

v2: Update dirty bit comment above caller (caught by Iago)

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