MEMORYBARRIERATOMICC(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

✨ NAME ✨

okay so this is the manpage for memoryBarrierAtomicCounter, from the 3G manual bestie πŸ’–

It controls the ordering of operations on atomic counters issued by a single shader invocation. periodt.


πŸŽ€ DECLARATION πŸŽ€

void memoryBarrierAtomicCounter(void);

πŸ’« DESCRIPTION πŸ’«

So memoryBarrierAtomicCounter literally just waits on the completion of all accesses resulting from the use of atomic counters, and then returns with no other effect. that's it, that's the whole vibe. no cap. 🫢

When this function returns, the results of any modifications to the value of atomic counters will be visible to any access to the same counter from other shader invocations. the way that visibility just shows up? iconic.

In particular, any modifications made in one shader stage are guaranteed to be visible to accesses performed by shader invocations in subsequent stages when those invocations were triggered by the execution of the original shader invocation (e.g., fragment shader invocations for a primitive resulting from a particular geometry shader invocation). like, the pipeline said "you're welcome" πŸ’…


🌈 VERSION SUPPORT 🌈

here's the vibe check for the OpenGL Shading Language Version, bestie β€” one entry per version, - means she did NOT come through, βœ” means she ATE πŸ‘‘

  • Function name: memoryBarrierAtomicCounter
  • 1.10 β€” -
  • 1.20 β€” -
  • 1.30 β€” -
  • 1.40 β€” -
  • 1.50 β€” -
  • 3.30 β€” -
  • 4.00 β€” -
  • 4.10 β€” -
  • 4.20 β€” -
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”

πŸ‘€ SEE ALSO πŸ‘€

  • memoryBarrier()

like if you liked this one you're gonna be obsessed with that one, fr fr πŸ”₯


Copyright Β© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.


Copyright Β© 2012-2014 Khronos Group


aaaand that's the whole page bestie πŸ¦‹ β€” this came from [FIXME: source] and it's dated 01/03/2018, so if you're citing her, cite her right πŸ’œ bye ily, go put a barrier on those atomics 🧚✨

πŸ“¦ where this page comes from