<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/docs/user-guide/a2-02-metal-target-specific.md, 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-21T00:30:44+00:00</updated>
<entry>
<title>Implement SV_VulkanSamplePosition (#8236)</title>
<updated>2025-08-21T00:30:44+00:00</updated>
<author>
<name>davli-nv</name>
<email>davli@nvidia.com</email>
</author>
<published>2025-08-21T00:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=05f0f5603561daed2c134e13bc64649362759968'/>
<id>urn:sha1:05f0f5603561daed2c134e13bc64649362759968</id>
<content type='text'>
-Adds semantic SV_VulkanSamplePosition that emits corresponding
gl_SamplePosition and SpvBuiltinSamplePosition
-Adds gl_SamplePosition property to glsl.meta.slang
-Adds SPIRV and GLSL tests for the semantic and property
-Plan is to later implement SV_SamplePosition that follows HLSL range of
-0.5 to +0.5,
and emits GetRenderTargetSamplePosition(SV_SampleIndex) which needs more
complicated IR manipulation for HLSL and Metal

Fixes #7906

---------

Co-authored-by: ArielG-NV &lt;159081215+ArielG-NV@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Implement SPV_EXT_fragment_invocation_density (SPV_NV_shading_rate) (#8037)</title>
<updated>2025-08-05T17:55:52+00:00</updated>
<author>
<name>davli-nv</name>
<email>davli@nvidia.com</email>
</author>
<published>2025-08-05T17:55:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=83675103a1a4fefde11b314aed26f4d37860efe7'/>
<id>urn:sha1:83675103a1a4fefde11b314aed26f4d37860efe7</id>
<content type='text'>
* Implement SPV_EXT_fragment_invocation_density

-Adds semantics SV_FragSize and SV_FragInvocationCount and implements them for SPIRV and GLSL using the appropriate target builtins from extensions.
-Adds test case checking for expected target builtins from these semantics.
-For future work, could implement SV_FragSize using pixel shader input SV_ShadingRate for HLSL, and SV_FragInvocationCount needs research.

Fixes #7974

Generated with Claude Code

* address review feedback

https://github.com/shader-slang/slang/pull/8037#pullrequestreview-3084645845

* fixup format

* review feedback

https://github.com/shader-slang/slang/pull/8037#pullrequestreview-3086442819</content>
</entry>
<entry>
<title>Map `SV_VertexID` to `gl_VertexIndex-gl_BaseVertex`, add `SV_Vulkan*ID` semantics (#7150)</title>
<updated>2025-05-19T18:21:25+00:00</updated>
<author>
<name>Darren Wihandi</name>
<email>65404740+fairywreath@users.noreply.github.com</email>
</author>
<published>2025-05-19T18:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=634e3960c2bc322bbd51fccc7ff395d9f24e35dc'/>
<id>urn:sha1:634e3960c2bc322bbd51fccc7ff395d9f24e35dc</id>
<content type='text'>
* Map SV_VertexID to `gl_VertexIndex - gl_BaseVertex`, provide SV_Vulkan* SV semantics

* Fix docs

* Regenerate toc

* Fix affected pointer-2 test

* Add tests

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Remove extra User Guide readthedocs TOC entries by turning extra H1 headings into H2 (#6986)</title>
<updated>2025-05-06T01:19:06+00:00</updated>
<author>
<name>aidanfnv</name>
<email>aidanf@nvidia.com</email>
</author>
<published>2025-05-06T01:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=480369a302b15749aafc82feb001fa23db8edbd6'/>
<id>urn:sha1:480369a302b15749aafc82feb001fa23db8edbd6</id>
<content type='text'>
readthedocs treats H1 headings as document titles in the sidebar table of contents.
This change turns all extra H1 headings into H2 in the "Metal-Specific Functionalities" doc.
These extra H1 headings seem to be errors, given that they are inconsistent, and the H2s after them do not belong. For examples, the heading "Resource Types" is H2, but "Array Types" is H1, and "Mesh Shader Support" is H1, but the following "Header Inclusions and Namespace" is not a subtopic of the Mesh Shader Support.</content>
</entry>
<entry>
<title>Add SV_PointCoord to match gl_PointCoord (#6795)</title>
<updated>2025-04-14T14:59:13+00:00</updated>
<author>
<name>Julius Ikkala</name>
<email>julius.ikkala@gmail.com</email>
</author>
<published>2025-04-14T14:59:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=0f0818722268464775981520c2d6e975a9cf14fa'/>
<id>urn:sha1:0f0818722268464775981520c2d6e975a9cf14fa</id>
<content type='text'>
* Add gl_PointCoord support in GLSL compat mode

* Add SV_PointCoord

* Test on metal as well

* Update SPIRV system value semantics table in docs

* Update metal docs for SV_PointCoord</content>
</entry>
<entry>
<title>Fix user-guide typos (#6789)</title>
<updated>2025-04-11T22:34:07+00:00</updated>
<author>
<name>Gangzheng Tong</name>
<email>gtong@nvidia.com</email>
</author>
<published>2025-04-11T22:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=8e6af6259bd1dd47d81c36f0562ff362ca5d42c3'/>
<id>urn:sha1:8e6af6259bd1dd47d81c36f0562ff362ca5d42c3</id>
<content type='text'>
* Fix user-guide typos

Use LLM to scan each of the markdown files to fix typos.
Try not to change anything but the typos in this CL.

* typo not caught by LLM

* add output of ./build_toc.ps1</content>
</entry>
<entry>
<title>Add base vertex and base instance system values (#5918)</title>
<updated>2024-12-20T06:00:20+00:00</updated>
<author>
<name>Darren Wihandi</name>
<email>65404740+fairywreath@users.noreply.github.com</email>
</author>
<published>2024-12-20T06:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a00db74d1afa717dd90dfcf3170c63d0d1c0d3d7'/>
<id>urn:sha1:a00db74d1afa717dd90dfcf3170c63d0d1c0d3d7</id>
<content type='text'>
* Add base vertex and base instance system values

* Fixed incorrect stage in tests</content>
</entry>
<entry>
<title>Support explicit `[vk::location(n)]` binding on metal/wgsl. (#5907)</title>
<updated>2024-12-18T23:34:52+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-12-18T23:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=abeb3758f35a48c2012dd3c39d704409c679a652'/>
<id>urn:sha1:abeb3758f35a48c2012dd3c39d704409c679a652</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support specialization constant on WGSL and Metal. (#5780)</title>
<updated>2024-12-06T08:55:35+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-12-06T08:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=8ce7c6f6958f9f5ed750ef1a823b9e9ed8c042d8'/>
<id>urn:sha1:8ce7c6f6958f9f5ed750ef1a823b9e9ed8c042d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement explciit binding for metal and wgsl. (#5778)</title>
<updated>2024-12-06T03:33:55+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-12-06T03:33:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7dabfa76ccfb396e9d2019e2b6e01259d1661dc5'/>
<id>urn:sha1:7dabfa76ccfb396e9d2019e2b6e01259d1661dc5</id>
<content type='text'>
* Respect explicit bindings in wgsl emit.

* Implement explciit binding generation for metal and wgsl.

* Update toc.

* Fix warnings in tests.

* Fix tests.

---------

Co-authored-by: Ellie Hermaszewska &lt;ellieh@nvidia.com&gt;</content>
</entry>
</feed>
