nv50/ir: Add nv50_ir_prog_info_out serialize and deserialize
authorMark Menzynski <mmenzyns@redhat.com>
Mon, 17 Feb 2020 17:02:45 +0000 (18:02 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 Aug 2020 18:56:37 +0000 (18:56 +0000)
commitf20a210dc8552daadfe403d899a9ba6cdd21560b
treef32044be93ec8e1e102c4e6092d4ceb5caf98a69
parent5ecc06ef20efd70f35f7100b4e42bb22dc262b38
nv50/ir: Add nv50_ir_prog_info_out serialize and deserialize

Adds functions for serializing and deserializing
nv50_ir_prog_info_out structure, which are needed for shader caching.

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_emit_gk110.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gv100.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_serialize.cpp [new file with mode: 0644]
src/gallium/drivers/nouveau/meson.build