<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/spirv/pointer.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-08-29T22:52:34+00:00</updated>
<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>Remove use of Variable Pointer capability. (#5352)</title>
<updated>2024-10-19T14:58:57+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-10-19T14:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9936178dd3efb026bfa142512a2bf061d7a75ab5'/>
<id>urn:sha1:9936178dd3efb026bfa142512a2bf061d7a75ab5</id>
<content type='text'>
* Remove use of Variable Pointer capability.</content>
</entry>
<entry>
<title>Support arrow operator `-&gt;` on pointers. (#3812)</title>
<updated>2024-03-22T00:19:03+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-03-22T00:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7a8ef896196ad0d7095412d8558dd9a2542874c8'/>
<id>urn:sha1:7a8ef896196ad0d7095412d8558dd9a2542874c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `sessionDesc.defaultMatrixLayoutMode` being ineffective. (#3753)</title>
<updated>2024-03-13T02:31:25+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-03-13T02:31:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6f7c8271710b43349d34b8f7569ceb6957400548'/>
<id>urn:sha1:6f7c8271710b43349d34b8f7569ceb6957400548</id>
<content type='text'>
* Fix `sessionDesc.defaultMatrixLayoutMode` being ineffective.

* Fix matrix layout in buffer pointer.

* Attempt to fix.

* Fix buffer element type lowering for buffer pointers.

* Add comment.

* Fix test.

* Fix member lookup in `Ref&lt;T&gt;`.

* Fix validation error.

* Enhance test.</content>
</entry>
<entry>
<title>Support pointers in SPIRV. (#3561)</title>
<updated>2024-02-09T02:29:32+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-02-09T02:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f44da6cc5c0f211c13bd1eb0743d79c7861ea64e'/>
<id>urn:sha1:f44da6cc5c0f211c13bd1eb0743d79c7861ea64e</id>
<content type='text'>
* Support pointers in SPIRV.

* Fix test.

* Enhance test.

* Fix test.

* Cleanup.</content>
</entry>
</feed>
