mesa: Always generate GL_INVALID_OPERATION in _mesa_GetProgramBinary
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 21 Dec 2014 20:06:23 +0000 (12:06 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 11 Jan 2015 23:01:09 +0000 (12:01 +1300)
commitf591712efeb9a757379d1e89907e2147749aaf6c
tree994012ceeba542df3dd7da02fe6dd1b6eacb3dcd
parent4fd8b3012371a5795a0d272928266c6237e57466
mesa: Always generate GL_INVALID_OPERATION in _mesa_GetProgramBinary

There are no binary formats supported, so what are you doing?  At least
this gives the application developer some feedback about what's going
on.  The spec gives no guidance about what to do in this scenario.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87516
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Leight Bade <leith@mapbox.com>
src/mesa/main/shaderapi.c