glsl: Don't consider read-only fragment outputs to be written to.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 20 Jul 2016 03:29:55 +0000 (20:29 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 24 Aug 2016 20:28:31 +0000 (13:28 -0700)
commit711213fb7226f25a7da4962aa7526d7265d38356
tree38f5eb62a2dd7277291865b84774740a0503c768
parent913ae618c6bdb42366f4d87265a6e35a88656e70
glsl: Don't consider read-only fragment outputs to be written to.

Since they cannot be written.  This prevents adding fragment outputs
to the OutputsWritten set that are only read from via the
gl_LastFragData array but never written to.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ir_set_program_inouts.cpp