Re: [Mesa-dev] [PATCH 04/12] i965/fs/skl+: Use lcd2dms_w instead of lcd2dms

2015-09-23 Thread Ben Widawsky
On Wed, Sep 23, 2015 at 06:28:42PM +0100, Neil Roberts wrote: > Ben Widawsky writes: > > >> + /* On Gen9+ we'll use lcd2ms_w instead which has two registers > >> for > >> + * the MCS data. > >> + */ > >> + if (op == SHADER_OPCODE_TXF_CMS_W) { > >> +b

Re: [Mesa-dev] [PATCH 04/12] i965/fs/skl+: Use lcd2dms_w instead of lcd2dms

2015-09-23 Thread Neil Roberts
Ben Widawsky writes: >> + /* On Gen9+ we'll use lcd2ms_w instead which has two registers for >> + * the MCS data. >> + */ >> + if (op == SHADER_OPCODE_TXF_CMS_W) { >> +bld.MOV(retype(sources[length], BRW_REGISTER_TYPE_UD), >> +mcs.

Re: [Mesa-dev] [PATCH 04/12] i965/fs/skl+: Use lcd2dms_w instead of lcd2dms

2015-09-22 Thread Ian Romanick
On 09/17/2015 09:00 AM, Neil Roberts wrote: > In order to support 16x MSAA, skl+ has a wider version of lcd2dms that > takes two parameters for the MCS data. This patch makes it allocate a > register that is twice as big for the MCS data and then always use > the wider version. > --- > src/mesa/dr

Re: [Mesa-dev] [PATCH 04/12] i965/fs/skl+: Use lcd2dms_w instead of lcd2dms

2015-09-22 Thread Ben Widawsky
On Thu, Sep 17, 2015 at 05:00:06PM +0100, Neil Roberts wrote: > In order to support 16x MSAA, skl+ has a wider version of lcd2dms that > takes two parameters for the MCS data. This patch makes it allocate a > register that is twice as big for the MCS data and then always use > the wider version. >

[Mesa-dev] [PATCH 04/12] i965/fs/skl+: Use lcd2dms_w instead of lcd2dms

2015-09-17 Thread Neil Roberts
In order to support 16x MSAA, skl+ has a wider version of lcd2dms that takes two parameters for the MCS data. This patch makes it allocate a register that is twice as big for the MCS data and then always use the wider version. --- src/mesa/drivers/dri/i965/brw_defines.h| 4 src/mesa/