mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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
d745d0a7dc
commit
63ed7c19d5
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue