[Mesa-dev] [PATCH v2 5/8] i965/fs: Avoid scalar destinations in emit_uniformize()

Matt Turner mattst88 at gmail.com
Thu Oct 22 12:24:53 PDT 2015


On Thu, Oct 22, 2015 at 11:37 AM, Kristian Høgsberg Kristensen
<krh at bitplanet.net> wrote:
> The scalar destination registers break copy propagation. Instead compute
> the results to a regular register and then reference a component when we
> later use the result as a source.

It might be hairy to get it working, but making copy propagation
handle scalar destinations is the "right" way forward.

If we commit this patch, and later implement support for copy
propagating with scalar destinations, how will we remember to change
this back?


More information about the mesa-dev mailing list