Revert "glsl: don't try to lower non-gl builtins as if they were gl_FragData"
authorMarek Olšák <marek.olsak@amd.com>
Mon, 8 Aug 2016 20:05:29 +0000 (22:05 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 8 Aug 2016 21:24:20 +0000 (23:24 +0200)
commit1ebf3c4b6741a3a3a9d46048abe3996cb9a86334
tree686da1797a3a08c90e42266e5e9e6b6dc43b28f7
parent3723e9826f3662ed8ff160f8f24a9b7ee2617db9
Revert "glsl: don't try to lower non-gl builtins as if they were gl_FragData"

This reverts commit a37e46323c7e18bec4160f2f66847c10b7041dc1.

It broke the game Overlord such that it hung a GCN GNU. While I don't know
how the hang happened because of its randomness and gfx corruption precedes
it, many of the shaders contain this:

out vec4 FragData[gl_MaxDrawBuffers];
src/compiler/glsl/opt_dead_builtin_varyings.cpp