<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/source/slang/slang-ir-use-uninitialized-out-param.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>2024-07-09T23:18:36+00:00</updated>
<entry>
<title>Warnings for uninitialized values (#4530)</title>
<updated>2024-07-09T23:18:36+00:00</updated>
<author>
<name>venkataram-nv</name>
<email>vedavamadath@nvidia.com</email>
</author>
<published>2024-07-09T23:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=0e6c5c518953141f31c09e5f10d3939054f9b1ee'/>
<id>urn:sha1:0e6c5c518953141f31c09e5f10d3939054f9b1ee</id>
<content type='text'>
This extends the code for handling uninitialized output parameters.
Still needs to handle generic templates and assignment of uninitialized
values more carefully.

The file containing the relevant code are now in

    source/slang/slang-ir-use-uninitialized-values.cpp

rather than the previous

    source/slang/slang-ir-use-uninitialized-out-param.h

and the top-level function is now checkForUsingUinitializedValues.

Additionally a rudimentary test shader has been added for this case, which replaces the old file for out params only; tests/diagnositcs/uninitialized-out.slang becomes tests/diagnositcs/uninitialized.slang.

What this does not implement (could be future PRs):
* Checking uninitialized fields within constructors
* Partially uninitialized values with respect to data structure (e.g. arrays/structs/vector types)
* Partially uninitialized values with respect to control flow (e.g. if/else/loop)</content>
</entry>
<entry>
<title>FP16 atomics for RWByteAddresBuffer, fp32 atomics for images. (#3536)</title>
<updated>2024-02-01T21:26:03+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-02-01T21:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f370947c63bca707b9cfde7b18e67298f5fbace3'/>
<id>urn:sha1:f370947c63bca707b9cfde7b18e67298f5fbace3</id>
<content type='text'>
* FP16 atomics for RWByteAddresBuffer, fp32 atomics for images.

* Fix spelling.

* Add overload.

* Fix test failures.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>SPIRV compiler performance fixes. (#3258)</title>
<updated>2023-10-04T18:20:35+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2023-10-04T18:20:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ac886fd3e329a9599ed1ac7a6d8b26ca5821046c'/>
<id>urn:sha1:ac886fd3e329a9599ed1ac7a6d8b26ca5821046c</id>
<content type='text'>
* SPIRV compiler performance fixes.

* Cleanup.

* update project files

* Cleanup debug code.

* Make redundancy removal non-recursive.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Add SPIRV atomics intrinsics and fix buffer layout lowering. (#3170)</title>
<updated>2023-08-31T20:49:40+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2023-08-31T20:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=cc412af89e54b04ead508ca84825a18d001b92d0'/>
<id>urn:sha1:cc412af89e54b04ead508ca84825a18d001b92d0</id>
<content type='text'>
* Fix atomics intrinsics and buffer layout lowering.

* Fix.

* Add more test.

* Fix.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Various dxc/fxc compatibility fixes. (#2863)</title>
<updated>2023-05-03T03:29:38+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2023-05-03T03:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d52376a65f37fcbbb67428b917fd3819436b6dfb'/>
<id>urn:sha1:d52376a65f37fcbbb67428b917fd3819436b6dfb</id>
<content type='text'>
* Various dxc/fxc compatibility fixes.

* Cleanup.

* Fix test cases.

* Fix comments.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Add warning for returning without initializing out parameter (#2807)</title>
<updated>2023-04-21T06:05:49+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2023-04-21T06:05:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=deb130645e8538eed8fb9f682de64e2dd329473d'/>
<id>urn:sha1:deb130645e8538eed8fb9f682de64e2dd329473d</id>
<content type='text'>
* Add warning for returning without initializing out parameter

* Add unused prelude function to squash uninitialized out variable warnings</content>
</entry>
<entry>
<title>Diagnose on using uninitialized `out` param. (#2803)</title>
<updated>2023-04-14T15:12:14+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2023-04-14T15:12:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=168c58389e9155312a8cef88d986a4ceee5a511e'/>
<id>urn:sha1:168c58389e9155312a8cef88d986a4ceee5a511e</id>
<content type='text'>
* Diagnose on using uninitialized `out` param.

* Hack to allow `out Vertices&lt;T&gt;`.

* Fix.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
</feed>
