gallium: Add pipe_shader_state_from_nir
authorM Henning <drawoc@darkrefraction.com>
Sat, 22 Apr 2023 04:47:28 +0000 (00:47 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Apr 2023 03:46:34 +0000 (03:46 +0000)
commitb82004d9609fa6323fcd68862c7164f73e37267b
tree531ff5183b35022e67b21581a3c0a8c0f5388abd
parent5889c13fcd46ef984ea0acc02bdf68a7ef552924
gallium: Add pipe_shader_state_from_nir

and use it in nouveau

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22537>
src/gallium/drivers/nouveau/nv50/nv50_surface.c
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
src/gallium/include/pipe/p_state.h