[Mesa-dev] [PATCH 00/15] program: Remove remnants of NV_fragment_program and other cruft

Matt Turner mattst88 at gmail.com
Mon Feb 29 23:34:34 UTC 2016


We removed NV_vertex_program and NV_fragment_program{,_option} in 2012 yet we
continue finding more pieces of them years later. Last year we discussed
removing some remaining bits of NV_fragment_program_option that were used by
a broken Viewperf11 test [1]. Hopefully it's been long enough and we can strip
out the rest of the condition code support from Mesa IR.

If not... then I guess I can try to rebase that out of the series. I hope it
doesn't come to that. I'd really like to replace Mesa IR with NIR. idr
suggested a alternate plan that's making more and more sense to me though: push
Mesa IR down to just something i915 and r200 consume or get rid of it entirely.

That would require 1) a NIR -> Mesa IR translator (for i915 and r200)
                   2) changing the program parser to generate NIR
                   3) ...?

And with Rob's work to bring NIR to Gallium (and probably some more), we can
probably cut out Mesa IR -> TGSI as well.


[1] https://lists.freedesktop.org/archives/mesa-dev/2015-February/077015.html



More information about the mesa-dev mailing list