<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tools/slang-unit-test/unit-test-atomic-reflection.cpp, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2025-06-26T18:15:43+00:00</updated>
<entry>
<title>Hide atomics struct from reflection api (#7520)</title>
<updated>2025-06-26T18:15:43+00:00</updated>
<author>
<name>James Helferty (NVIDIA)</name>
<email>jhelferty@nvidia.com</email>
</author>
<published>2025-06-26T18:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=78dc7c3fd1441ba756c969b81ed90600fa9f9f38'/>
<id>urn:sha1:78dc7c3fd1441ba756c969b81ed90600fa9f9f38</id>
<content type='text'>
* Atomic reflection unit test

Test that Atomic&lt;int&gt; is reflected as a scalar/int instead of a struct
named Atomic.

* Hide AtomicType from reflection

Leverage the fact that returned variables go through convert() to
centralize the unwrapping of the AtomicType struct.

Fixes #6257

* Clean up unit test a bit

- rename bar to buf (since one of them is not Atomic and thus not a
  barrier)
- validate deeper into the fields of bufC
- remove debug code</content>
</entry>
</feed>
