[Mesa-dev] [PATCH] glsl: remove interpolateAt* instructions for demoted inputs

Marek Olšák maraeo at gmail.com
Mon Sep 12 16:20:14 UTC 2016


On Mon, Sep 12, 2016 at 4:05 PM, Connor Abbott <cwabbott0 at gmail.com> wrote:
> Since demoted inputs become global variables, wouldn't it be more
> efficient to simply turn it into a straight assignment? Then the
> backend wouldn't have to initialize it to a constant (since it would
> be undefined).

Maybe, but there are no apps using these interp instructions, so it's
probably a waste of time trying to optimize for it.

Marek


More information about the mesa-dev mailing list