Re: [Mesa-dev] [PATCH v2 25/35] i965/blorp: Map 1-D render targets with DIM_LAYOUT_GEN4_2D as 2D on gen9

2016-08-16 Thread Pohjolainen, Topi
On Thu, Jul 28, 2016 at 06:35:58PM -0700, Jason Ekstrand wrote: >On Jul 28, 2016 2:41 AM, "Pohjolainen, Topi" ><[1]topi.pohjolai...@intel.com> wrote: >> >> On Tue, Jul 26, 2016 at 03:02:16PM -0700, Jason Ekstrand wrote: >> > The sampling hardware can handle them ok. It just

Re: [Mesa-dev] [PATCH v2 25/35] i965/blorp: Map 1-D render targets with DIM_LAYOUT_GEN4_2D as 2D on gen9

2016-07-28 Thread Jason Ekstrand
On Jul 28, 2016 2:41 AM, "Pohjolainen, Topi" wrote: > > On Tue, Jul 26, 2016 at 03:02:16PM -0700, Jason Ekstrand wrote: > > 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

Re: [Mesa-dev] [PATCH v2 25/35] i965/blorp: Map 1-D render targets with DIM_LAYOUT_GEN4_2D as 2D on gen9

2016-07-28 Thread Pohjolainen, Topi
On Tue, Jul 26, 2016 at 03:02:16PM -0700, Jason Ekstrand wrote: > 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. To clarify, this is not needed at this point but

[Mesa-dev] [PATCH v2 25/35] i965/blorp: Map 1-D render targets with DIM_LAYOUT_GEN4_2D as 2D on gen9

2016-07-26 Thread Jason Ekstrand
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. --- src/mesa/drivers/dri/i965/brw_blorp.c | 6 ++ 1 file changed, 6 insertions(+) diff --git