nv50/ir: Add nv50_ir_prog_info serialize
authorMark Menzynski <mmenzyns@redhat.com>
Tue, 28 Jan 2020 12:11:31 +0000 (13:11 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 Aug 2020 18:56:37 +0000 (18:56 +0000)
commit82dd683a3ce83461c374aa2332d2db2ff589b741
treebcadecfa3357c6dfb4625d42dd9fe16f3c8d983d
parent3e99af66b4e4ba658072e93f4de519dd271913e0
nv50/ir: Add nv50_ir_prog_info serialize

Adds a function for serializing a nv50_ir_prog_info structure, which is
needed for shader caching.

v2 (Karol): strip nir when serializing

Signed-off-by: Mark Menzynski <mmenzyns@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4264>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_serialize.cpp