<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/source/slang/slang-emit-c-like.h, 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-07-11T03:22:59+00:00</updated>
<entry>
<title>Fix int16_t/uint16_t support for WGSL target (#7692)</title>
<updated>2025-07-11T03:22:59+00:00</updated>
<author>
<name>Copilot</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2025-07-11T03:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d0f342c9263a0e47947ac3be9fa4d9f665831e63'/>
<id>urn:sha1:d0f342c9263a0e47947ac3be9fa4d9f665831e63</id>
<content type='text'>
* Initial plan

* Implement int16_t/uint16_t support for WGSL target

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

* Change int16_t/uint16_t to emit proper diagnostics instead of auto-promoting

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

* Implement diagnoseOnce to prevent duplicate diagnostics

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

* Optimize diagnoseOnce to use HashSet::add() return value

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

* Apply code formatting to slang-emit-c-like.h

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

* Fix diagnoseOnce to use all parameters instead of first parameter only

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

---------

Co-authored-by: copilot-swe-agent[bot] &lt;198982749+Copilot@users.noreply.github.com&gt;
Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Add optix support for coopvec (#7286)</title>
<updated>2025-06-10T04:48:24+00:00</updated>
<author>
<name>Mukund Keshava</name>
<email>mkeshava@nvidia.com</email>
</author>
<published>2025-06-10T04:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d70da65a90ccd73439895a43b3958c0ea1441f35'/>
<id>urn:sha1:d70da65a90ccd73439895a43b3958c0ea1441f35</id>
<content type='text'>
* WiP: Add coopvec support for Optix

* format code

* fix minor issues

* Fix review comments

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Rename 'main' on some backends (#7105)</title>
<updated>2025-05-15T09:15:43+00:00</updated>
<author>
<name>Mukund Keshava</name>
<email>mkeshava@nvidia.com</email>
</author>
<published>2025-05-15T09:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ed837e205f3e67c4ae112f544cfe486ca3cc8455'/>
<id>urn:sha1:ed837e205f3e67c4ae112f544cfe486ca3cc8455</id>
<content type='text'>
* Rename 'main' on some backednds

Fixes #5542

Some backends like cuda, metal, cpu do not allow 'main' as the entry
point. This commit adds a new warning that is emitted when a program
uses main as the entry point. In addition to emitting the warning, it
internally renames the entry point to "main_". It also adds a test to
check these for the three backends.

* format code

* move test to diagnostics

* rename test to diagnostic

* generate unique name

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Support the new CoopVec builtins (#7108)</title>
<updated>2025-05-15T02:57:47+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-05-15T02:57:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=b4d3d3017640581c21b52a12413d3f074ab1c5c1'/>
<id>urn:sha1:b4d3d3017640581c21b52a12413d3f074ab1c5c1</id>
<content type='text'>
**NOTE: This is a breaking change for users who were using POC variant of DXC.
In order to keep the compatibility, the users will have to use -capability hlsl_coopvec_poc to their command line.

This PR adds a new capability "hlsl_coopvec_poc".

When it is used, the HLSL for CoopVec will be emitted for the POC variant of DXC.
When it is not used, the HLSL for CoopVec will be emitted for the DXC that officially supports the cooperative vector.</content>
</entry>
<entry>
<title>Add `vk::offset` to specify member offsets for push constants (#6797)</title>
<updated>2025-04-21T18:46:23+00:00</updated>
<author>
<name>Darren Wihandi</name>
<email>65404740+fairywreath@users.noreply.github.com</email>
</author>
<published>2025-04-21T18:46:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=62baf92a524a5b57eb465100a5e47c489c049f15'/>
<id>urn:sha1:62baf92a524a5b57eb465100a5e47c489c049f15</id>
<content type='text'>
* Add struct member offset qualifier for SPIRV

* Implement for GLSL target and add tests

* clean up

* fix formatting

* fix typo

* renamed GLSLStructOffset to VkStructOffset and added emit-spirv-via-glsl test case</content>
</entry>
<entry>
<title>Add WaveGetLane* support for Metal and WGSL (#6371)</title>
<updated>2025-02-28T18:11:26+00:00</updated>
<author>
<name>Darren Wihandi</name>
<email>65404740+fairywreath@users.noreply.github.com</email>
</author>
<published>2025-02-28T18:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=66984eb856454d0a372e3b30643823af18612067'/>
<id>urn:sha1:66984eb856454d0a372e3b30643823af18612067</id>
<content type='text'>
* support WaveGetLane* for WGSL and Metal

* update test and glsl support

* address review comments and fix metal test

* add missing pragma guard

* update test

* Revert "update test"

This reverts commit f2b97e91c29de154190710580c343bd0764aedbb.

* update failing glsl metal test and added new test

* make hlsl and glsl outputs similar

* update test

* disable tests for Metal and cleanup

* comment fix

* add expected failures

* correct expected failures list

* remove expected failure

* add tests to expected failure

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Map `SV_InstanceID` to `gl_InstanceIndex-gl_BaseInstance` (#6468)</title>
<updated>2025-02-28T00:57:52+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-02-28T00:57:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6f2ce72b038b34e84819ddfc5d658166ed879eaa'/>
<id>urn:sha1:6f2ce72b038b34e84819ddfc5d658166ed879eaa</id>
<content type='text'>
* Map `SV_InstanceID` to `gl_InstanceIndex-gl_BaseInstance`

* Fix ci.</content>
</entry>
<entry>
<title>Implement Quad Control intrinsics (#5981)</title>
<updated>2025-01-18T07:07:16+00:00</updated>
<author>
<name>Darren Wihandi</name>
<email>65404740+fairywreath@users.noreply.github.com</email>
</author>
<published>2025-01-18T07:07:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a85c350df03c6cdf9b433f58fc0e66affda03e9e'/>
<id>urn:sha1:a85c350df03c6cdf9b433f58fc0e66affda03e9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement specialization constant support in numthreads / local_size (#5963)</title>
<updated>2025-01-14T18:32:29+00:00</updated>
<author>
<name>Julius Ikkala</name>
<email>julius.ikkala@gmail.com</email>
</author>
<published>2025-01-14T18:32:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=cbdc7e1219e472fd74f7f559d7e417f233e7df39'/>
<id>urn:sha1:cbdc7e1219e472fd74f7f559d7e417f233e7df39</id>
<content type='text'>
* Allow using specialization constants in numthreads attribute

* Add support for GLSL local_size_x_id syntax

* Fix overeager specialization constant parsing

* Add diagnostics for specialization constant numthreads

* Remove unused variable

* Fix local_size_x_id not finding existing specialization constant

* Allow materializeGetWorkGroupSize to reference specialization constants

* Use SpvOpExecutionModeId for modes that require it

* Cleanup specialization constant numthreads code

* Add tests for specialization constant work group sizes

* Fix implicit Slang::Int -&gt; int32_t cast

* Fix querying thread group size in reflection API

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Initial implementation of SP#015 `DescriptorHandle&lt;T&gt;`. (#6028)</title>
<updated>2025-01-10T18:57:04+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-01-10T18:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=5290c580632cfb56847b863a32dc020a21d1c93e'/>
<id>urn:sha1:5290c580632cfb56847b863a32dc020a21d1c93e</id>
<content type='text'>
* Initial implementation of `ResourcePtr&lt;T&gt;`.

* Update docs

* Fix build error.

* Add more discussion.

* Update documentation.

* Update TOC.

* Fix.

* Fix.

* Add test case for custom `getResourceFromBindlessHandle`.

* Add namehint to generated descriptor heap param.

* Fix.

* Fix.

* format code

* Rename to `DescriptorHandle`, and add `T.Handle` alias.

* Fix compiler error.

* Fix.

* Fix build.

* Renames.

* Fix documentation.

* Documentation fix.

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
</feed>
