https://gitlab.freedesktop.org/mesa/mesa/merge_requests/189

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.

 src/mesa/Makefile.sources                 |   1 +
 src/mesa/meson.build                      |   1 +
 src/mesa/state_tracker/st_cb_clear.c      |  80 +++++++++++--
 src/mesa/state_tracker/st_cb_drawpixels.c | 177 +++++++++++++++++++++++-----
 src/mesa/state_tracker/st_cb_drawtex.c    |  69 +++++++++--
 src/mesa/state_tracker/st_cb_readpixels.c |   1 +
 src/mesa/state_tracker/st_glsl_to_nir.cpp |  46 ++++----
 src/mesa/state_tracker/st_nir.h           |  18 +++
 src/mesa/state_tracker/st_nir_builtins.c  | 136 +++++++++++++++++++++
 src/mesa/state_tracker/st_pbo.c           | 190 +++++++++++++++++++++++++++++-
 10 files changed, 648 insertions(+), 71 deletions(-)

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

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

Reply via email to