panfrost: Preserve w sign in perspective division
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 15 Feb 2019 06:38:23 +0000 (06:38 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 18 Feb 2019 05:13:34 +0000 (05:13 +0000)
commitfa1b36ddc2b6407e3c0e2b938e94f40d825e33f0
tree95fa1384abb5b0fce2345b5802e3a2f42237e590
parent49985cebeaadc571e8807d0b046615692a0dd227
panfrost: Preserve w sign in perspective division

This fixes issues where polygons that should be culled (due to negative
w, for instance) may not be.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/midgard/midgard_compile.c