mesa/main: allow passing nir-shaders to st_program_string_notify
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 18 Apr 2023 10:23:15 +0000 (12:23 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sat, 29 Apr 2023 12:39:18 +0000 (12:39 +0000)
commit7610747e9446fc367e28fae30c3d9f72e3f8f749
tree5e79922cfbd9b5c5484fc0822f68ca995875ac16
parentfdd20b9469dd962b221f9c1c0e31068a779cfc21
mesa/main: allow passing nir-shaders to st_program_string_notify

This will enable us to emit NIR directly for fixed-function vertex
shaders.

Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22520>
src/mesa/state_tracker/st_program.c