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

Jose Fonseca jfonseca at vmware.com
Wed Jul 1 23:00:07 PDT 2015


On 02/07/15 06:55, Matt Turner wrote:
> 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.

Or maybe have IR -> NIR -> IR, allowing to remove the optimization passes.

Jose


More information about the mesa-dev mailing list