[Mesa-dev] [PATCH v2 6/6] i965/fs: do d2x lowering before simd splitting
Francisco Jerez
currojerez at riseup.net
Mon Jul 11 19:20:54 UTC 2016
Samuel Iglesias Gonsálvez <siglesias at igalia.com> writes:
> So that we can have gen7 split large writes produced by this lowering pass.
>
> Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
> ---
> src/mesa/drivers/dri/i965/brw_fs.cpp | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
> index 4bf0ca2..d131106 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
> @@ -5843,6 +5843,11 @@ fs_visitor::optimize()
> OPT(dead_code_eliminate);
> }
>
> + if (OPT(lower_d2x)) {
> + OPT(opt_copy_propagate);
> + OPT(dead_code_eliminate);
> + }
> +
> OPT(lower_simd_width);
>
> /* After SIMD lowering just in case we had to unroll the EOT send. */
> @@ -5879,11 +5884,6 @@ fs_visitor::optimize()
> OPT(dead_code_eliminate);
> }
>
> - if (OPT(lower_d2x)) {
> - OPT(opt_copy_propagate);
> - OPT(dead_code_eliminate);
> - }
> -
> OPT(opt_combine_constants);
> OPT(lower_integer_multiplication);
>
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160711/a072670a/attachment.sig>
More information about the mesa-dev
mailing list