Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ATOMIC_COUNTER_BARRIER_BIT & SHADER_STORAGE_BARRIER_BIT descriptions to match current spec #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions es3.1/glMemoryBarrier.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,11 @@
<term><constant>GL_SHADER_STORAGE_BARRIER_BIT</constant></term>
<listitem>
<para>
Accesses to shader storage blocks after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader buffer
variables issued after the barrier will reflect data written by shaders prior to
the barrier. Additionally, assignments to and atomic operations performed
on shader buffer variables after the barrier will not execute until all memory
accesses initiated prior to the barrier complete.
</para>
</listitem>
</varlistentry>
Expand Down
7 changes: 5 additions & 2 deletions es3.1/html/glMemoryBarrier.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,11 @@
</dt>
<dd>
<p>
Accesses to shader storage blocks after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader buffer
variables issued after the barrier will reflect data written by shaders prior to
the barrier. Additionally, assignments to and atomic operations performed
on shader buffer variables after the barrier will not execute until all memory
accesses initiated prior to the barrier complete.
</p>
</dd>
</dl>
Expand Down
2 changes: 1 addition & 1 deletion es3.1/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down
7 changes: 5 additions & 2 deletions es3/glMemoryBarrier.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,11 @@
<term><constant>GL_SHADER_STORAGE_BARRIER_BIT</constant></term>
<listitem>
<para>
Accesses to shader storage blocks after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader buffer
variables issued after the barrier will reflect data written by shaders prior to
the barrier. Additionally, assignments to and atomic operations performed
on shader buffer variables after the barrier will not execute until all memory
accesses initiated prior to the barrier complete.
</para>
</listitem>
</varlistentry>
Expand Down
7 changes: 5 additions & 2 deletions es3/html/glMemoryBarrier.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,11 @@
</dt>
<dd>
<p>
Accesses to shader storage blocks after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader buffer
variables issued after the barrier will reflect data written by shaders prior to
the barrier. Additionally, assignments to and atomic operations performed
on shader buffer variables after the barrier will not execute until all memory
accesses initiated prior to the barrier complete.
</p>
</dd>
</dl>
Expand Down
2 changes: 1 addition & 1 deletion es3/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down
14 changes: 10 additions & 4 deletions gl4/glMemoryBarrier.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,23 @@
<term><constant>GL_ATOMIC_COUNTER_BARRIER_BIT</constant></term>
<listitem>
<para>
Accesses to atomic counters after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader atomic counter built-in functions issued after the
barrier will reflect data written by shaders prior to the barrier.
Additionally, atomic counter function invocations after
the barrier will not execute until all memory accesses
initiated prior to the barrier complete.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SHADER_STORAGE_BARRIER_BIT</constant></term>
<listitem>
<para>
Accesses to shader storage blocks after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader buffer variables issued
after the barrier will reflect data written by shaders prior to the barrier.
Additionally, assignments to and atomic operations performed
on shader buffer variables after the barrier will not execute until all memory
accesses initiated prior to the barrier complete.
</para>
</listitem>
</varlistentry>
Expand Down
14 changes: 10 additions & 4 deletions gl4/html/glMemoryBarrier.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,11 @@
</dt>
<dd>
<p>
Accesses to atomic counters after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader atomic counter built-in functions issued after the
barrier will reflect data written by shaders prior to the barrier.
Additionally, atomic counter function invocations after
the barrier will not execute until all memory accesses
initiated prior to the barrier complete.
</p>
</dd>
<dt>
Expand All @@ -305,8 +308,11 @@
</dt>
<dd>
<p>
Accesses to shader storage blocks after the
barrier will reflect writes prior to the barrier.
Memory accesses using shader buffer variables issued
after the barrier will reflect data written by shaders prior to the barrier.
Additionally, assignments to and atomic operations performed
on shader buffer variables after the barrier will not execute until all memory
accesses initiated prior to the barrier complete.
</p>
</dd>
<dt>
Expand Down
2 changes: 1 addition & 1 deletion gl4/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapNamedBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down