Commit | Line | Data |
---|---|---|
7faf1d71 AW |
1 | <?xml version="1.0" encoding="UTF-8"?>\r |
2 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"\r | |
3 | "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">\r | |
4 | <refentry id="memoryBarrierAtomicCounter">\r | |
5 | <refmeta>\r | |
6 | <refmetainfo>\r | |
7 | <copyright>\r | |
8 | <year>2012</year>\r | |
9 | <holder>Khronos Group</holder>\r | |
10 | </copyright>\r | |
11 | </refmetainfo>\r | |
12 | <refentrytitle>memoryBarrierAtomicCounter</refentrytitle>\r | |
13 | <manvolnum>3G</manvolnum>\r | |
14 | </refmeta>\r | |
15 | <refnamediv>\r | |
16 | <refname>memoryBarrierAtomicCounter</refname>\r | |
17 | <refpurpose>controls the ordering of operations on atomic counters issued by a single shader invocation</refpurpose>\r | |
18 | </refnamediv>\r | |
19 | <refsynopsisdiv><title>Declaration</title>\r | |
20 | <funcsynopsis>\r | |
21 | <funcprototype>\r | |
22 | <funcdef>void <function>memoryBarrierAtomicCounter</function></funcdef>\r | |
23 | <paramdef>void</paramdef>\r | |
24 | </funcprototype>\r | |
25 | </funcsynopsis>\r | |
26 | </refsynopsisdiv>\r | |
27 | <refsect1 id="description"><title>Description</title>\r | |
28 | <para>\r | |
29 | <function>memoryBarrierAtomicCounter</function> waits on the completion of all accesses resulting from the use of\r | |
30 | atomic counters and then returns with no other effect. When this function returns, the\r | |
31 | results of any modifications to the value of atomic counters will be visible\r | |
32 | to any access to the same counter from other shader invocations. In particular,\r | |
33 | any modifications made in one shader stage are guaranteed to be visible to accesses\r | |
34 | performed by shader invocations in subsequent stages when those invocations were triggered by the\r | |
35 | execution of the original shader invocation (e.g., fragment shader invocations for a primitive resulting\r | |
36 | from a particular geometry shader invocation).\r | |
37 | </para>\r | |
38 | </refsect1>\r | |
39 | <refsect1 id="versions"><title>Version Support</title>\r | |
40 | <informaltable frame="topbot">\r | |
41 | #VARTABLECOLS#\r | |
42 | <thead>\r | |
43 | #FUNCTABLEHEADER#\r | |
44 | <row>\r | |
45 | <entry>memoryBarrierAtomicCounter</entry>#newin43#\r | |
46 | </row>\r | |
47 | </thead>\r | |
48 | </tgroup>\r | |
49 | </informaltable>\r | |
50 | </refsect1>\r | |
51 | <refsect1 id="seealso"><title>See Also</title>\r | |
52 | <para>\r | |
53 | <citerefentry><refentrytitle>memoryBarrier</refentrytitle></citerefentry>\r | |
54 | </para>\r | |
55 | </refsect1>\r | |
56 | <refsect1 id="Copyright"><title>Copyright</title>\r | |
57 | <para>\r | |
58 | Copyright <trademark class="copyright"></trademark> 2011-2012 Khronos Group. \r | |
59 | This material may be distributed subject to the terms and conditions set forth in \r | |
60 | the Open Publication License, v 1.0, 8 June 1999.\r | |
61 | <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r | |
62 | </para>\r | |
63 | </refsect1>\r | |
64 | </refentry>\r |