mesa/program_binary: add implicit UseProgram after successful ProgramBinary
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 6 Jun 2018 08:57:15 +0000 (01:57 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 11 Jun 2018 04:12:46 +0000 (21:12 -0700)
commite266b320590ebbeadf7c98b0b493d89886534ccb
tree9cdb02af6a762ce2038677d5d82530128588d1d1
parent525cfe5dab069c05becaa32dc80c28c77c4fcac8
mesa/program_binary: add implicit UseProgram after successful ProgramBinary

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106810
Fixes: b4c37ce2140 "i965: Add ARB_get_program_binary support using nir_serialization"
Ref: 3fe8d04a6d6 "mesa: don't always set _NEW_PROGRAM when linking"
Ref: c505d6d8522 "mesa: use gl_program for CurrentProgram rather than gl_shader_program"
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/program_binary.c