[Mesa-dev] [Nouveau] llvm TGSI backend (WIP) questions

Ilia Mirkin imirkin at alum.mit.edu
Fri Nov 13 12:46:51 PST 2015


On Fri, Nov 13, 2015 at 3:42 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 13 November 2015 at 14:38, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> On Fri, Nov 13, 2015 at 9:25 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> Hello Hans,
>>>
>>> Not to muddy the waters or anything, have you thought about the NIR
>>> integration that Rob was thinking about ?
>>> I'm pretty sure he'll be happy to have extra people helping him out.
>>
>> How would that in any way plug into llvm or nouveau? There's no OpenCL
>> C -> NIR, and there's no NIR -> nv50 IR...
>>
> I thought that you've been (remotely) exploring the latter
> possibility. Isn't that the case ?

Not to my knowledge. I did look at doing SPIR -> nv50 ir (not to be
confused with SPIR-V), but that was ~1.5y ago. I got stuck in control
flow and llvm ir frustration. The fact that I had to go out-of-ssa
didn't help. At this point I don't see any upside to using NIR.

  -ilia


More information about the mesa-dev mailing list