shaderapi: don't generate not linked error on GetProgramStage in general
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 23 Aug 2016 15:00:54 +0000 (17:00 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 24 Aug 2016 12:57:13 +0000 (14:57 +0200)
commitb4959e17f18aff68465f4b3445b6a53ee0227b16
treefe369939d09ebcc341bd8790d4f78710b89b6246
parent9411eb67ecebfc76c909ca81b09e6e7fe08ac8eb
shaderapi: don't generate not linked error on GetProgramStage in general

Both ARB_shader_subroutine and the GL core spec doesn't list any
error when the program is not linked.

We left a error generation for the uniform location, in order to be
consistent with other methods from the spec that generate them.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/shaderapi.c