glsl: Don't consider unused FS out variables as being statically assigned.
authorEric Anholt <eric@anholt.net>
Mon, 23 Apr 2012 23:10:12 +0000 (16:10 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 May 2012 21:00:32 +0000 (14:00 -0700)
commitb2ee5a08bae6cdbbdafc1f1d9d6f3afbad2f7944
tree3f9b7635817e8c9bf7a755b3cfc0788f7660b779
parentfcd57280ae687d6b7c11cb8ac8fb8cc4f01a646d
glsl: Don't consider unused FS out variables as being statically assigned.

I only considered var->assigned for FragColor and FragData, but
ignored when it was false for out vars.  Fixes piglit
write-gl_FragColor-and-not-user-output.frag

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49068
src/glsl/ast_to_hir.cpp