glsl: Remove redundant writes to prog->LinkStatus
authorPaul Berry <stereotype441@gmail.com>
Sat, 27 Jul 2013 22:37:15 +0000 (15:37 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 30 Jul 2013 17:10:27 +0000 (10:10 -0700)
commit1299694ed5e3c2f51c076b020a9ad2fef2e1d059
tree789d570c372cab8bf0804a52c45e55a91a971c7e
parent5fe6b90c87c055fdfe24eb8b2075e6725ad59ecd
glsl: Remove redundant writes to prog->LinkStatus

The linker_error() function sets prog->LinkStatus to false.  There's
no reason for the caller of linker_error() to also do so.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_function_detect_recursion.cpp
src/mesa/program/ir_to_mesa.cpp