Skip to main content

Questions tagged [synchronization]

Filter by
Sorted by
Tagged with
0 votes
1 answer
127 views

I have two compute shaders that are to be executed one after the other. The first compute shader performs some calculations and stores the number of results in a buffer with ...
Thomas's user avatar
  • 1,493
0 votes
0 answers
92 views

My application has two queues: one for host<->device transfer operations and one for graphics. The sharingMode of my resources is always ...
Tom's user avatar
  • 1
0 votes
0 answers
99 views

I have two ssbo buffers: the data SSBO: It is an array of a structure that contains information. the delete SSBO: It is a list of free indices within the data SSBO. Each compute shader invocation ...
Thomas's user avatar
  • 1,493
2 votes
0 answers
69 views

The Vulkan spec introduces synchronization scopes in section 6 in a bit of an abstract way. It refers to a "set of operations" being contained in a synchronization scope. How can I determine ...
Wil's user avatar
  • 21
2 votes
1 answer
351 views

I went through a lot of Vulkan tutorials and each of them has talked about fences, which is good, but each of them does not clearly tell what exectly happen on GPU. It is so frustrating trying to ...
Thomas's user avatar
  • 1,493
0 votes
1 answer
118 views

I am writing a program that uses a transfer queue and a compute queue. As the names suggest, the transfer queue loads data from the CPU to the GPU and from the GPU to the CPU and the compute queue ...
Thomas's user avatar
  • 1,493
1 vote
0 answers
805 views

There are four kinds of memory barriers in DirectX. Their names and definitions are: DeviceMemoryBarrier: Blocks execution of all threads in a group until all ...
Fan's user avatar
  • 11
0 votes
1 answer
1k views

I am calculating the Summed Area Table(SAT) of a texture with help of a compute shader in OpenGL. The texture which needs to be summed, has a dimension size of more than my GPU supports (...
Thomas's user avatar
  • 1,493
0 votes
0 answers
189 views

Say I have a couple of meshes that I want to reupload to GPU for each frame. I can do this by generating a single array from all the meshes on CPU and then uploading to GPU (ex with ...
Lenny White's user avatar
1 vote
1 answer
3k views

I want to clarify how are workgroups executed on various GPUs, thus I have several questions. I know that different GPU architectures work differently, but I expect an answer YES if there is single (...
Emil Kabirov's user avatar
3 votes
1 answer
1k views

What is the best way to synchronize resource access between the (async) compute engine and the 3d engine (aka. direct engine) in D3D 12? I found this paragraph about multi-engine synchronization on ...
George's user avatar
  • 61
0 votes
1 answer
362 views

I've managed to write a "small" Vulkan program that outputs a solid color using compute shader directly to swapchain. However, it doesn't work properly. ImageMemoryBarriers I've setup don't ...
Karlovsky120's user avatar
0 votes
1 answer
568 views

I am updating my scene graph in response to user input and the network. What is the best way to do this? The updating threads are separate. Some approaches I am thinking about: double buffer. There ...
user1095108's user avatar
0 votes
1 answer
841 views

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 ...
Nacho's user avatar
  • 110
2 votes
1 answer
758 views

When using Transform Feedback to capture the vertices generated by the primtive generation stage, we can use glDrawTransformFeedback to directly draw the generated ...
Christian Rau's user avatar

15 30 50 per page