Metal: Wait for finish when buffers are updated #120050

Open
Jeroen Bakker wants to merge 2 commits from Jeroen-Bakker/blender:metal/barrier-buffer-update-b into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Workaround for #120038

Read back statistic buffers and results in EEVEE next asynchronously.
Using synchronized reads could stall the metal backend.
This also reverts the previous approach ecffea86b1

The render test images seems to be closer to what is expected compared to main.

Workaround for #120038 Read back statistic buffers and results in EEVEE next asynchronously. Using synchronized reads could stall the metal backend. This also reverts the previous approach ecffea86b133ba08318cd3f3a5738d3930426170 The render test images seems to be closer to what is expected compared to main.
Jeroen Bakker added this to the 4.2 LTS milestone 2024-03-29 11:04:42 +01:00
Jeroen Bakker added the
Interest
Metal
Module
EEVEE & Viewport
labels 2024-03-29 11:04:42 +01:00
Jeroen Bakker self-assigned this 2024-03-29 11:04:43 +01:00
Jeroen Bakker added 2 commits 2024-03-29 11:04:53 +01:00
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
8935b412b8
Do not use early exit
Jeroen Bakker added this to the EEVEE & Viewport project 2024-03-29 11:05:00 +01:00
Author
Member

@blender-bot build +gpu

@blender-bot build +gpu

@blender-bot build +gpu macos-arm64

@blender-bot build +gpu macos-arm64
Some checks reported errors
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
Merge conflict checking is in progress. Try again in few moments.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u metal/barrier-buffer-update-b:Jeroen-Bakker-metal/barrier-buffer-update-b
git checkout Jeroen-Bakker-metal/barrier-buffer-update-b
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#120050
No description provided.