Fix T78653 Workbench: Broken Depth of Field in Viewport (Mac OSX)

The output layout was wrong and it's a mistery why it works on most
implementations since it's clearly a wrong usage.

Thanks @sebbas for helping narrowing down the issue.
This commit is contained in:
Clément Foucault 2020-09-16 15:17:11 +02:00 • committed by Jeroen Bakker
parent d745d0a7dc
commit 63ed7c19d5

View file

@ -391,8 +391,8 @@ void main()
*/
#ifdef RESOLVE
layout(location = 0) out vec4 finalColorAdd;
layout(location = 1) out vec4 finalColorMul;
layout(location = 0, index = 0) out vec4 finalColorAdd;
layout(location = 0, index = 1) out vec4 finalColorMul;
void main()
{