swr: [rasterizer core] viewport transform disabled fix
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 15 Aug 2016 17:58:54 +0000 (11:58 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 17 Aug 2016 22:08:55 +0000 (17:08 -0500)
commitd70f96fd674cfb5a1aeedce179c2cc02c38a9fad
tree82425426a531bc25abf517c56ef47e678d957b84
parent812b45d04958e31e7a3bfc7331308374e8b73afa
swr: [rasterizer core] viewport transform disabled fix

When viewport transform is disabled (ie. screen space coords are passed
in directly), the W component should be interpreted as RHW.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/frontend.cpp