<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/source/slang/slang-emit-spirv-ops-debug-info-ext.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-11T20:47:33+00:00</updated>
<entry>
<title>Add DebugGlobalVariable instructions to SPIR-V output (#7686)</title>
<updated>2025-07-11T20:47:33+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-07-11T20:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1dc32b8bf8dd14e607d306c160b1bedf46067910'/>
<id>urn:sha1:1dc32b8bf8dd14e607d306c160b1bedf46067910</id>
<content type='text'>
* Add DebugGlobalVariable instructions to SPIR-V output

Implements generation of DebugGlobalVariable instructions for global variables
like Texture2D and SamplerState in SPIR-V debug information output. Adds debug
type support for texture and sampler types using DebugTypeComposite.

* Handle two more types for DebugGlobalVariable

kIROp_RaytracingAccelerationStructureType and
kIROp_SamplerComparisonStateType had to be handled in
`emitDebugTypeImpl()`

* Fix format

* Refactor debug type emission to reduce duplication

Use IRSamplerStateTypeBase type check and fallback pattern instead of
separate cases for each opcode type.

* Fix compiler warning

* Simplify `emitDebugTypeImpl()` more</content>
</entry>
<entry>
<title>Use 1-based argument index for DebugLocalVariable (#7438)</title>
<updated>2025-06-18T23:03:29+00:00</updated>
<author>
<name>Lujin Wang</name>
<email>143145775+lujinwangnv@users.noreply.github.com</email>
</author>
<published>2025-06-18T23:03:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ef6c21af908ad72a04c6d7d22ad9cd189a44f2e3'/>
<id>urn:sha1:ef6c21af908ad72a04c6d7d22ad9cd189a44f2e3</id>
<content type='text'>
* Use 1-based argument index for DebugLocalVariable

GLSLANG/DXC NSDI uses 1-based index of the argument. Slang should
follow this convention like other SPIR-V generators.

* format code

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Add command line option for separate debug info (#7178)</title>
<updated>2025-06-06T21:30:06+00:00</updated>
<author>
<name>jarcherNV</name>
<email>jarcher@nvidia.com</email>
</author>
<published>2025-06-06T21:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=0d16228ae22fa2e1a00e62dc099eea08da7717fe'/>
<id>urn:sha1:0d16228ae22fa2e1a00e62dc099eea08da7717fe</id>
<content type='text'>
* Add command line option for separate debug info

Add command line arg -separate-debug-info which, if provided, produces
both a .spv and a .dbg.spv file. The .dbg.spv file contains full debug
info and the .spv file has all debug info stripped out.

Also add a DebugBuildIdentifier instruction to store a unique hash in
both the output files, so they can be more easily matched together.

A matching API is provided to allow using the Slang API to retrieve a
base and debug SPIRV as well as the debug build identifier string.</content>
</entry>
<entry>
<title>Add debug information for slang inling (#6621)</title>
<updated>2025-05-10T20:59:37+00:00</updated>
<author>
<name>Mukund Keshava</name>
<email>mkeshava@nvidia.com</email>
</author>
<published>2025-05-10T20:59:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=083eecee3f56b90c7011895f53aaafa9db15856e'/>
<id>urn:sha1:083eecee3f56b90c7011895f53aaafa9db15856e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add SPIRV atomic debug type (#6616)</title>
<updated>2025-03-19T20:26:26+00:00</updated>
<author>
<name>Darren Wihandi</name>
<email>65404740+fairywreath@users.noreply.github.com</email>
</author>
<published>2025-03-19T20:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=155e0804edbc9e7175cb0a6ed60d3daff0ba5e01'/>
<id>urn:sha1:155e0804edbc9e7175cb0a6ed60d3daff0ba5e01</id>
<content type='text'>
Co-authored-by: Ellie Hermaszewska &lt;ellieh@nvidia.com&gt;</content>
</entry>
<entry>
<title>format</title>
<updated>2024-10-29T06:49:26+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2024-10-29T06:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21'/>
<id>urn:sha1:f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21</id>
<content type='text'>
* format

* Minor test fixes

* enable checking cpp format in ci</content>
</entry>
<entry>
<title>Use DebugDeclare instead of DebugValue. (#5404)</title>
<updated>2024-10-25T04:31:34+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-10-25T04:31:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a2a201e327559e6a24b081fee73096b2a3b3e33f'/>
<id>urn:sha1:a2a201e327559e6a24b081fee73096b2a3b3e33f</id>
<content type='text'>
* Use DebugDeclare instead of DebugValue.

* Avoid generating illegal SPIRV.

* Improve DebugLine output.

* Fix.

* Fix.

* Misc improvements.</content>
</entry>
<entry>
<title>Support OpDebugTypePointer for struct member pointer (#4527)</title>
<updated>2024-07-18T22:20:42+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2024-07-18T22:20:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ce4ffc34204a56a7447db1e4aa0e7d89d74f34f1'/>
<id>urn:sha1:ce4ffc34204a56a7447db1e4aa0e7d89d74f34f1</id>
<content type='text'>
This change supports OpDebugTypePointer for a member variable whose type
is a pointer type for the outer struct that hasn't been declared yet.
It is done with new extension, "SPV_KHR_relaxed_extended_instruction",
that comes with a new instruction, "OpExtInstWithForwardRefs".

Closes #4304</content>
</entry>
<entry>
<title>Support SPIR-V DebugTypePointer (#4228)</title>
<updated>2024-05-30T23:47:39+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2024-05-30T23:47:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=febbeb140bea65180ff4be9b164207c582235d4d'/>
<id>urn:sha1:febbeb140bea65180ff4be9b164207c582235d4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SPIRV] Fix DebugLine generated from source with #line directive. (#3678)</title>
<updated>2024-03-05T19:18:14+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-03-05T19:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=8d4b659b4d95fb72f4c483f6327acd60b44268bc'/>
<id>urn:sha1:8d4b659b4d95fb72f4c483f6327acd60b44268bc</id>
<content type='text'>
</content>
</entry>
</feed>
