<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/diagnostics/uninitialized-fields.slang, 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-02-05T18:37:03+00:00</updated>
<entry>
<title>Feature/initialize list side branch (#6058)</title>
<updated>2025-02-05T18:37:03+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2025-02-05T18:37:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9ec6b91686b651d959fd9ffbec283845bd725dd6'/>
<id>urn:sha1:9ec6b91686b651d959fd9ffbec283845bd725dd6</id>
<content type='text'>
* SP004: implement initialize list translation to ctor

- We synthesize a member-wise constructor for each struct follow
   the rules described in SP004.
- Add logic to translate the initialize list to constructor invoke
- Add cuda-host decoration for the synthesized constructor
- Remove the default constructor when we have a valid member init constructor
- Disable -zero-initialize option, will re-implement it in followup (#6109).
- Fix the overload lookup issue
    When creating invoke expression for ctor, we need to call
    ResolveInvoke() to find us the best candidates, however
    the existing lookup logic could find us the base constructor
    for child struct, we should eliminate this case by providing
    the LookupOptions::IgnoreInheritance to lookup, this requires
    us to create a subcontext on SemanticsVisitor to indicate that
    we only want to use this option on looking the constructor.
- Do not implicit initialize a struct that doesn't have explicit default
   constructor.

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Fix potential test failures due to SPIRV validation failure (#6047)</title>
<updated>2025-01-10T19:01:32+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-01-10T19:01:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6437f2d37b08972db5e4515bd124639c2903dda1'/>
<id>urn:sha1:6437f2d37b08972db5e4515bd124639c2903dda1</id>
<content type='text'>
There are a few tests that are currently passing but could fail when
conditions change little bit.

When slang-test runs with `test-server`, the spirv validation fails and
the test gets reported as failed even though they are actually passing.

To avoid the potential problem, this commit adds an empty entry point.

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Ignoring construct field warnings on delegatory methods (#4911)</title>
<updated>2024-08-28T21:42:14+00:00</updated>
<author>
<name>venkataram-nv</name>
<email>vedavamadath@nvidia.com</email>
</author>
<published>2024-08-28T21:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d3a5a4723e0ba0f90ac3a0df3dd841d1f0c69782'/>
<id>urn:sha1:d3a5a4723e0ba0f90ac3a0df3dd841d1f0c69782</id>
<content type='text'>
* Ignoring construct field warnings on delegatory methods

* Generalizing instruction usage type interface

* Skip collection when searching for stores

* Adding separate construct delegation tests

* Treating differentiable functions as stores</content>
</entry>
<entry>
<title>Warnings for uninitialized fields in constructors (#4680)</title>
<updated>2024-07-19T00:43:19+00:00</updated>
<author>
<name>venkataram-nv</name>
<email>vedavamadath@nvidia.com</email>
</author>
<published>2024-07-19T00:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6e7c726658c775e97578e7a9dd99d23b819870bd'/>
<id>urn:sha1:6e7c726658c775e97578e7a9dd99d23b819870bd</id>
<content type='text'>
* Detect uninitialized fields in constructors

* Reachability check for early returns

* Specialized warnings for synthesized default initializers

* Handling quirks with constructors

* Addressing review comments

* Ignore synthesized constructors if they are not used</content>
</entry>
</feed>
