Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [synchronization]

The tag has no usage guidance.

0
votes
0answers
91 views

Sharing a MTLCommandBuffer across multiple MTKViews

I am using MTKViews for select UI elements inside of my UIKit app. I have a central metal controller that does something somewhat like this: ...
1
vote
1answer
164 views

Do we really need a fence event?

One of the hardest things for me with the modern closer to the metal graphics APIs is understanding synchronization. I usually try to simplify things in order to understand the concept better. In ...
4
votes
1answer
302 views

Directly use Transform Feedback primitive count as instance count for drawing

When using Transform Feedback to capture the vertices generated by the primtive generation stage, we can use glDrawTransformFeedback to directly draw the generated ...
4
votes
2answers
471 views

How does ID3D12Resource::Map work?

How does Map() work? I would guess that it allocates memory to fit the resource size (or a range of it), but when are the bytes sent to the GPU?
3
votes
1answer
637 views

Why do I need memory barrier when doing atomic operations?

I am reading the OpenGL SuperBible 7th edition which covers atomic operations on memory specifically within shader storage blocks. It says (about atomic operations): If two invocations access the ...