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

2015-09-23 Thread Neil Roberts
Ben Widawsky writes: >>} else if (op == ir_txf_ms) { >> emit(MOV(dst_reg(MRF, param_base + 1, sample_index.type, >> WRITEMASK_X), >>sample_index)); >> - if (devinfo->gen >= 7) { >> + if (opcode == SHADER_OPCODE_TXF_CMS_W)

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

2015-09-22 Thread Ben Widawsky
On Thu, Sep 17, 2015 at 05:00:07PM +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. The MCS data in the response > still fits in a single register so we just need to ensure we copy both > values rather than

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

2015-09-20 Thread Chris Forbes
s/lcd2dms/ld2dms/g in various places in this patch and others. On Fri, Sep 18, 2015 at 4: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. The MCS data in the response > still fits

[Mesa-dev] [PATCH 05/12] i965/vec4/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. The MCS data in the response still fits in a single register so we just need to ensure we copy both values rather than just the lower one. --- src/mesa/drivers/dri/i965/brw_vec4.cpp