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:
parent
fa2ef64d96
commit
fa81e36f65
Notes:
blender-bot
2023-05-22 12:40:41 +02:00
Referenced by issue #78653, Blender 2.83 broken Depth of Field in Viewport (Mac OSX) Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
|
@ -390,8 +390,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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue