Use MTLHazardTrackingMode.untracked for Resources #3110
Labels
api: metal
Issues with Metal
area: performance
How fast things go
help required
We need community help to make this happen.
type: enhancement
New feature or request
Milestone
Currently we rely on the metal runtime to track and generate all the barriers for our code. This is wasteful as we already have all the barrier information available to the hal. We should set
MTLHazardTrackingMode.untracked
on all textures/buffers then call the various barrier functions to prevent races.Related to #3109 due to default heap behavior.
The text was updated successfully, but these errors were encountered: