Skip to main content

All Questions

Tagged with
4 votes
1 answer
3k 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 ...
Startec's user avatar
  • 781