i965/blorp: Map 1-D render targets with DIM_LAYOUT_GEN4_2D as 2D on gen9
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Jun 2016 00:30:35 +0000 (17:30 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Aug 2016 21:46:22 +0000 (14:46 -0700)
commit871893cda2f550600a30ba336e8dda7d5ee6ffa5
treea5bca2e5405cd56cdf0fe38479fadc673efe927a
parentecd97893686afc9ebeead14d2123aa02dad067f1
i965/blorp: Map 1-D render targets with DIM_LAYOUT_GEN4_2D as 2D on gen9

The sampling hardware can handle them ok.  It just looks at the tiling to
determine whether it's the new gen9 1-D layout or the old one.  The render
hardware isn't so smart.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.c