Timothy Arceri <[email protected]> writes:

> From: Timothy Arceri <[email protected]>
>
> Previously the constant array would not get copy propagated until the backend
> did its GLSL IR opt loop. I plan on removing that from i965 shortly which
> caused huge regressions in Deus-ex and Tomb Raider which have large
> constant arrays. Moving lowering before the opt loop in the GLSL linker
> fixes this and unexpectedly improves some compute shaders also.

It seems like we should figure out what's missing in NIR that the lack
of GLSL copy propagation hurt, but this is a pretty easy fix for now:

Reviewed-by: Eric Anholt <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to