mesa: Get some gl_shader_program::LinkStatus checking out of the main path
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Oct 2014 21:47:45 +0000 (14:47 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 10 Nov 2014 12:25:39 +0000 (04:25 -0800)
commit366540e9af86edc7451beb39204efbb4fe593973
tree63e6a9f23f0f308bbbb921e9085df471199217e2
parent3f5ebb98b74cca8488ee7093aab87125ee5341ed
mesa: Get some gl_shader_program::LinkStatus checking out of the main path

I really wanted to remove 'shProg != NULL' as well, but that would have
required adding a dummy program as the default program.  That seemed
like more churn than removing one test was worth.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/uniform_query.cpp