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

Kristian Høgsberg krh at bitplanet.net
Thu Oct 22 14:20:56 PDT 2015

On Thu, Oct 22, 2015 at 12:24 PM, Matt Turner <mattst88 at gmail.com> wrote:
> 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?

What's the harm in leaving it in?


More information about the mesa-dev mailing list