mesa: save/restore SSO flag when using ARB_get_program_binary
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 1 Jul 2019 02:25:19 +0000 (12:25 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jul 2019 23:26:53 +0000 (09:26 +1000)
commit3043908ccb9c7030add1f34f9a947a787949a399
treea1e7c4f81063dfcd97bce9fcaabce8f274d23eca
parentfe783c5b0c3d88dcdac6c9a46e9b5da007a7a516
mesa: save/restore SSO flag when using ARB_get_program_binary

Without this the restored program will fail the pipeline validation
checks when we attempt to use an SSO program.

Fixes: c20fd744fef1 ("mesa: Add Mesa ARB_get_program_binary helper functions")
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111010
src/mesa/main/program_binary.c