<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/autodiff, 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-08T23:11:10+00:00</updated>
<entry>
<title>parser: Avoid dropping modifiers when splitting list (#8546)</title>
<updated>2025-10-08T23:11:10+00:00</updated>
<author>
<name>James Helferty (NVIDIA)</name>
<email>jhelferty@nvidia.com</email>
</author>
<published>2025-10-08T23:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=54d9b345bff4b01949e875366cb1e7cf1c021c61'/>
<id>urn:sha1:54d9b345bff4b01949e875366cb1e7cf1c021c61</id>
<content type='text'>
Fix for a linked list usage bug; avoids dropping any modifiers when
moving type modifiers from a linked list of modifiers into their own
linked list. Since this change results in no_diff modifiers to
traditional functions ending up on the return type instead of the
function (due to the order they're parsed in), we duplicate the no_diff
modifier onto the function declaration after the fact.

Includes a test for the original issue. The no_diff redistribution case
is covered by a slangpy device test case.

Fixes #8332

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Fix the missing derivative member check (#8569)</title>
<updated>2025-10-02T22:23:53+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2025-10-02T22:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=bffac95febd7a29cfac0becfcb019cd057b53765'/>
<id>urn:sha1:bffac95febd7a29cfac0becfcb019cd057b53765</id>
<content type='text'>
Close #8568.

The root cause of this issue is that when the struct is indirectly
inherited from IDifferentiable type, we will not check the reference of
the DerivativeMember attribute. This PR fixes this issue by checking the
DerivativeMember attribute right before synthesize the requirement
methods of IDifferentiable interface.</content>
</entry>
<entry>
<title>Lookup refactor (#8467)</title>
<updated>2025-09-23T16:06:44+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2025-09-23T16:06:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=21c663605330d629e9022314a4720b86b017f295'/>
<id>urn:sha1:21c663605330d629e9022314a4720b86b017f295</id>
<content type='text'>
Close #8201.

This PR unify the lowering logic for LookupDeclRef of an interface
requirement. We will always lower this AST node to a
LookupWitness IR. The key of this IR is the special witnessTableType
`ThisTypeWitness`, this witness Table is simply a wrapper for an
interface type. Our current specialization pass doesn't handle this kind
of LookupWitness IR at all, so we will also add the specialization of
this_type IR as well.</content>
</entry>
<entry>
<title>fix a crash when using type equality constaint (#8515)</title>
<updated>2025-09-23T15:12:09+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2025-09-23T15:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7740f7905fdebebdbe22011787d432b385f4cd9d'/>
<id>urn:sha1:7740f7905fdebebdbe22011787d432b385f4cd9d</id>
<content type='text'>
Close #8193.

When constructing `TransitiveTypeWitness` node, we should check if there
is operand that represents two equal times. Currently, we only check
whether the operand is `TypeEqualityWitness`, which is not good enough,
because a `DeclaredSubtypeWitness` could also be representing two same
types, in that case, we should also const fold this kind of witness.

Fails to do so, we could finally ends up with a generating a lookup
witness IR on a generic parameter that is not supposed to be looked up.</content>
</entry>
<entry>
<title>render-test: Change D3D12 default to sm_6_5 (#8320)</title>
<updated>2025-09-02T23:43:48+00:00</updated>
<author>
<name>James Helferty (NVIDIA)</name>
<email>jhelferty@nvidia.com</email>
</author>
<published>2025-09-02T23:43:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f02b08490aa905f42a8d90381db84b1f8e409c0c'/>
<id>urn:sha1:f02b08490aa905f42a8d90381db84b1f8e409c0c</id>
<content type='text'>
Changes default for render-test to sm_6_5.
Since sm_6_5 is the new default, remove the -use-dxil option, add
-use-dxcb option
Remove -use-dxil option from all test cases.
Add -use-dxcb to two tests that needed it.

Fixes #7611</content>
</entry>
<entry>
<title>[CBP] Pointer frontend changes + groupshared pointer support (#7848)</title>
<updated>2025-08-29T22:52:34+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2025-08-29T22:52:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7758625d3fea67e55e98e7e4103d56c9918365be'/>
<id>urn:sha1:7758625d3fea67e55e98e7e4103d56c9918365be</id>
<content type='text'>
Resolves #7628
Resolves: #8197

Primary Goals:
1. Add `Access` to pointer
2. AddressSpace::GroupShared support for pointers (SPIR-V)
3. Add `__getAddress()` to replace `&amp;`
* `&amp;` is not updated to `require(cpu)` since slangpy uses `&amp;`. This
means we must: (1) merge PR; (2) replace `&amp;` with `__getAddress()`; (3)
add `require(cpu)` to `&amp;`

Changes:
* Added to `Ptr` the `Access` generic argument &amp; logic (for
`Access::Read`).
* Moved the generic argument `AddressSpace` from `Ptr` to the end of the
type.
* Added pointer casting support between any `Ptr` as long as the
`AddressSpace` is the same
* Disallow globallycoherent T* and coherent T*
* Disallow const T*, T const*, and const T*
* Fixed .natvis display of `ConstantValue` `ValOperandNode`
* Support generic resolution of type-casted integers
* Added `VariablePointer` emitting for spirv + other minor logic needed
for groupshared pointers

Breaking Changes:
* Anyone using the `AddressSpace` of `Ptr` will now have to account for
the `Access` argument
* we disallow various syntax paired with `Ptr` and `T*`

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Fix issue of double lowering issue a differentiable function (#8182)</title>
<updated>2025-08-18T16:30:10+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2025-08-18T16:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=2f68f98a3d7d41c1daac07afab622c34f5c1b8d4'/>
<id>urn:sha1:2f68f98a3d7d41c1daac07afab622c34f5c1b8d4</id>
<content type='text'>
Close #8054.
For detailed root cause is at:
https://github.com/shader-slang/slang/issues/8054#issuecomment-3189579508</content>
</entry>
<entry>
<title>Enable CUDA Test Enablement - Batch 1: Autodiff Tests (1-16)  (#8139)</title>
<updated>2025-08-18T05:16:47+00:00</updated>
<author>
<name>Harsh Aggarwal (NVIDIA)</name>
<email>haaggarwal@nvidia.com</email>
</author>
<published>2025-08-18T05:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=c3df36043c67a94ea51cd7b1ce10a84e52f8d744'/>
<id>urn:sha1:c3df36043c67a94ea51cd7b1ce10a84e52f8d744</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable CUDA testing for batch 2 (#8147)</title>
<updated>2025-08-12T18:19:15+00:00</updated>
<author>
<name>jarcherNV</name>
<email>jarcher@nvidia.com</email>
</author>
<published>2025-08-12T18:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=3618f7a4c35de32405e6ebe458bae835869e2876'/>
<id>urn:sha1:3618f7a4c35de32405e6ebe458bae835869e2876</id>
<content type='text'>
Enable CUDA for the tests listed in issue #8078
This requires a minor CUDA prelude change, adding some math functions.</content>
</entry>
<entry>
<title>Fix 7723 - Add autodiff tests (#7919)</title>
<updated>2025-08-06T17:23:19+00:00</updated>
<author>
<name>Harsh Aggarwal (NVIDIA)</name>
<email>haaggarwal@nvidia.com</email>
</author>
<published>2025-08-06T17:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d107327422b69777d41f1077c58d46c6bcf579c4'/>
<id>urn:sha1:d107327422b69777d41f1077c58d46c6bcf579c4</id>
<content type='text'>
* Fix 7723 - Add autodiff tests

* Update bug-1.slang

Adding Vulkan</content>
</entry>
</feed>
