[Mesa-dev] [PATCH 7/7] i965: Enable instruction compaction on Gen8+.

Chris Forbes chrisf at ijw.co.nz
Mon Aug 18 14:41:21 PDT 2014


s/Gen8+/Gen8/ in the commit message, since it's still disabled for future gens.

On Tue, Aug 19, 2014 at 6:19 AM, Matt Turner <mattst88 at gmail.com> wrote:
> ---
>  src/mesa/drivers/dri/i965/brw_eu_compact.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c b/src/mesa/drivers/dri/i965/brw_eu_compact.c
> index 727fef5..280d7f7 100644
> --- a/src/mesa/drivers/dri/i965/brw_eu_compact.c
> +++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c
> @@ -1101,7 +1101,7 @@ brw_compact_instructions(struct brw_compile *p, int start_offset,
>      */
>     int old_ip[(p->next_insn_offset - start_offset) / 8];
>
> -   if (brw->gen < 6 || brw->gen >= 8)
> +   if (brw->gen < 6 || brw->gen > 8)
>        return;
>
>     int src_offset;
> --
> 1.8.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list