<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/diagnostics/size-of.slang.expected, 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>2023-07-05T17:23:14+00:00</updated>
<entry>
<title>Initial sizeof/alignof implementation. (#2954)</title>
<updated>2023-07-05T17:23:14+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2023-07-05T17:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=69450a2be7575aa4f984b9ae2824da0e5634c9f0'/>
<id>urn:sha1:69450a2be7575aa4f984b9ae2824da0e5634c9f0</id>
<content type='text'>
* Initial sizeof implementation.

* Small macro improvement.

* Fix some typos.

* Refactor NaturalSize.
Add more sizeof tests.

* Use _makeParseExpr to add sizeof support.

* Add size-of.slang diagnostic result.

* Fix typo in folding with macro change.

* Add a sizeof test of This.

* Some more NaturalSize coverage.

* Simple alignof support.

* Testing for alignof.

* Added 8 bit enum to check enums values are correctly sized.

* Add alignof to completion.

* Lower sizeof/alignof to IR.
sizeof/alignof IR pass.
Tests for simple generic scenarios.

* Make append handle invalid properly.
Improve comments.

---------

Co-authored-by: Theresa Foley &lt;10618364+tangent-vector@users.noreply.github.com&gt;</content>
</entry>
</feed>
