st/shader_cache: add st_{de}serialise_nir_program() helpers
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 13 Feb 2018 03:23:28 +0000 (14:23 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 14 Feb 2018 22:02:41 +0000 (09:02 +1100)
commit928be4e97e0263272a6a2d628d27d3d69df2cd58
treea7ab9310215a9f8ac5fbaf963fafacb788976e9e
parent3ad52501dc28a4286c97ed386419f7b617e093af
st/shader_cache: add st_{de}serialise_nir_program() helpers

These will be used for NIR GL_ARB_get_program_binary support.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_shader_cache.c
src/mesa/state_tracker/st_shader_cache.h