<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/language-feature/types, 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-10-10T21:34:56+00:00</updated>
<entry>
<title>Fix `specializeRTTIObject` to use non-zero RTTI value to work with `Optional&lt;T&gt;`. (#8677)</title>
<updated>2025-10-10T21:34:56+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-10-10T21:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=462ea4e66569efa978e4057ea2d041c69d4a729b'/>
<id>urn:sha1:462ea4e66569efa978e4057ea2d041c69d4a729b</id>
<content type='text'>
Closes #8673.

The issue is that we use the RTTI field of an existential to check if it
is null. We have the logic to help the user to fill in a non-zero value
for the RTTI field when such an object is filled from the host. However,
when there is slang code creating an existential value, we still have
old logic in the compiler that just fills in 0 for the RTTI field,
causing an `Optional&lt;IFoo&gt;.hasValue` to always return false in such
cases.</content>
</entry>
<entry>
<title>Fix Conditioanl&lt;T, false&gt; fields with a semantic. (#7855)</title>
<updated>2025-07-22T04:35:44+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-07-22T04:35:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9d47a352960efd71494c7dfa0918debd5b405077'/>
<id>urn:sha1:9d47a352960efd71494c7dfa0918debd5b405077</id>
<content type='text'>
* Fix Conditioanl&lt;T, false&gt; fields with a semantic.

* Add unit test.

* Fix test.</content>
</entry>
<entry>
<title>Fix various intptr_t issues by defining its width in `getIntTypeInfo` (#6786)</title>
<updated>2025-05-09T22:50:14+00:00</updated>
<author>
<name>Julius Ikkala</name>
<email>julius.ikkala@gmail.com</email>
</author>
<published>2025-05-09T22:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=029672ee08f5ecb710e84cf1ccc625e826ff9a29'/>
<id>urn:sha1:029672ee08f5ecb710e84cf1ccc625e826ff9a29</id>
<content type='text'>
* Define a bit size for the intptr types

* Fix intptr_t sign

* Extend intptr test to check for previously broken operations

* Fix intptr vector test on CUDA

* Handle intptr size in getAnyValueSize

* Fix formatting

* Try with __ARM_ARCH_ISA_64

* On macs, int64_t != intptr_t

Yikes

* Move define to prelude header

* Also check apple in host-prelude

* Fix define location</content>
</entry>
<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 IntVal unification logic to insert type casts + buffer element lowering regression. (#5508)</title>
<updated>2024-11-07T00:42:14+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-11-07T00:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=989847f6a9408b68e90ac242f4a19d3266054c3e'/>
<id>urn:sha1:989847f6a9408b68e90ac242f4a19d3266054c3e</id>
<content type='text'>
* Fix IntVal unification logic to insert type casts.

* Fix regression.</content>
</entry>
<entry>
<title>Enable WebGPU tests in CI (#5239)</title>
<updated>2024-10-15T16:11:53+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-10-15T16:11:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9e3b0367cfd63f21a0519b61b6fd13e94dac1c51'/>
<id>urn:sha1:9e3b0367cfd63f21a0519b61b6fd13e94dac1c51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Respect matrix layout in uniform and in/out parameters for HLSL target. (#5013)</title>
<updated>2024-09-05T17:26:59+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-09-05T17:26:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a88055c6f5190ca62bb4aa853b4f0fa11546278f'/>
<id>urn:sha1:a88055c6f5190ca62bb4aa853b4f0fa11546278f</id>
<content type='text'>
* Respect matrix layout in uniform and in/out parameters for HLSL target.

* Update test.

* Fix test.

* fix test.

* Fix metal layout calculation.

* Fix compile error.

* Fix compiler error.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Support parameter block in metal shader objects. (#4671)</title>
<updated>2024-07-19T18:49:42+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-07-19T18:49:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f114433debfba67cbe1db239b6e92278d41ed438'/>
<id>urn:sha1:f114433debfba67cbe1db239b6e92278d41ed438</id>
<content type='text'>
* Support parameter block in metal shader objects.

* Ingore parameter block tests on devices without tier2 argument buffer.

* Fix warning.

* Fix texture subscript test.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Warnings function parameters (#4626)</title>
<updated>2024-07-16T21:54:53+00:00</updated>
<author>
<name>venkataram-nv</name>
<email>vedavamadath@nvidia.com</email>
</author>
<published>2024-07-16T21:54:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=05547e25353dd797791c2937679468d529d832d5'/>
<id>urn:sha1:05547e25353dd797791c2937679468d529d832d5</id>
<content type='text'>
* Handle out/inout functions with separate consideration

* Fixing bug with passing aliasable instructions

* Handle autodiff functions (fwd and rev) in warning system

* Handling interface methods

* Handling ref parameters like out/inout

* Temporary fix to remaining bugs

* Refactoring methods and tests

* Recursive check for empty structs

* Using default initializable interface in tests

* Resolving CI fail</content>
</entry>
<entry>
<title>Cache address-space-legalization of `kIROp_Store` (#4480)</title>
<updated>2024-06-27T16:26:02+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-06-27T16:26:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=5dd8f29443508bd8663a92c62d33e69cc47b61af'/>
<id>urn:sha1:5dd8f29443508bd8663a92c62d33e69cc47b61af</id>
<content type='text'>
* Cache address-space-legalization  of `kIROp_Store`

without caching we will infinetly loop re-processing the same `kIROp_Store`

* uncomment tests which should now work with metal

* disable gfx backend failing tests</content>
</entry>
</feed>
