walker27460 has joined #zink
walker27460 has quit [Remote host closed the connection]
walker27460 has joined #zink
walker27460 has quit [Remote host closed the connection]
walker27460 has joined #zink
<
zmike>
jekstrand: shader-db consuming nir shaders somehow
walker27460 has quit [Remote host closed the connection]
walker27460 has joined #zink
<
jekstrand>
I don't see how that would work
<
jekstrand>
You could make a special thing that did an upload/download to trigger the compile
<
zmike>
yeah I didn't see how either
<
kusma>
Nir to tgsi, then virgl to get glsl!!
<
kusma>
How could this possibly go wrong?!
<
airlied>
just write a NIR text parser, and EXT_nir_shader
<
zmike>
would actually probably be handy 🤔
<
kusma>
I think gerddie has a nir parser around somewhere
<
ajax>
we already have two text frontends, that's too much maintenance
<
ajax>
what we need is a parser
_generator_ extension and EXT_meta_shader so we can do nir and glsl and hlsl and ...
<
kusma>
But no, locking down nir into a file format seems bad
<
airlied>
ajax: I don't think we understand what's too much :-P
<
zmike>
mind-explode.gif
<
ajax>
punt the entire frontend to the user, f off
<
airlied>
kusma: just make it backwards compat for ever like llvm IR :-P
<
kusma>
Don't remind me of llvm ir, just makes me sad