draw: simplify clip null tri logic
authorRoland Scheidegger <sroland@vmware.com>
Tue, 24 Apr 2018 16:12:34 +0000 (18:12 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 25 Apr 2018 02:50:20 +0000 (04:50 +0200)
commit98578df27bbf682f254d59a3a7d63b5f1b98f838
treeef379ab7c7001a7e3af9e3255c92b51e2702caa9
parentc17ddcb4b4240542832fba72b5810039dd245fc9
draw: simplify clip null tri logic

Simplifies the logic when to emit null tris (albeit the reasons why we
have to do this remain unclear).
This is strictly just logic simplification, the behavior doesn't change
at all.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_clip.c