glsl2: Allow a fragment shader to not write a color.
authorEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 21:51:50 +0000 (14:51 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 21:51:50 +0000 (14:51 -0700)
commit97eba76b8c5fe60738716c4dce9404de417a7d34
tree4fd4d50d7799f2bcc9716c6de051e3f10ce83768
parent3e2127b9dea6fd0628c4d7cb9e338d83583d2729
glsl2: Allow a fragment shader to not write a color.

I can't find any text justifying this check, and it caused a
reasonable-looking shader in glsl-bug-22603 (which writes only
gl_FragDepth) to fail.
src/glsl/linker.cpp