Skip to content

NIR built-in shaders for st/mesa

Kenneth Graunke requested to merge kwg/mesa:st-builtins into master

Here's a series that ports st/mesa's built-in shaders for various things from TGSI to NIR. For drivers which prefer NIR, we use the new direct versions rather than using tgsi_to_nir.

I've tested Piglit on radeonsi using R600_DEBUG=nir, and it appears there are no regressions. I've also used these patches in Iris. I have not tested them on vc4/v3d or freedreno, however.

Merge request reports