[Mesa-dev] [PATCH] mesa/prog: relative offsets into constbufs are not constant

Matt Turner mattst88 at gmail.com
Wed Jul 1 22:55:29 PDT 2015

On Wed, Jul 1, 2015 at 3:22 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> The optimization logic relies on being able to read out constbuf values
> from program parameters. However that only works if there's no relative
> addressing involved.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91173
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---

It would be a pretty neat project to make i915 and r200 consume NIR.

We'd get to delete Mesa IR and these optimization passes and probably
generate better code.

More information about the mesa-dev mailing list