On Monday, March 16, 2015 07:54:45 AM Tapani Pälli wrote:
> My first attempt to fix the bug 89569 was to add check in combine 
> constants but for some reason I did not get it to work. One reason is 
> that inst->sources cannot be trusted

I certainly hope we can trust it.  If it's wrong, we need to fix that.

> so there's no 'easy way' to know how many sources instruction has (?)

There's also opcode_descs[i].nsrc as long as i < 127.  But inst->sources
should be sufficient.

> Plan would be that for any 
> instruction it would check that last one is the only immediate.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to