<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/flake.nix, 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-12T15:50:15+00:00</updated>
<entry>
<title>Allow `flake.nix` users to run Vulkan tests (#8152)</title>
<updated>2025-08-12T15:50:15+00:00</updated>
<author>
<name>Sam Estep</name>
<email>sam@samestep.com</email>
</author>
<published>2025-08-12T15:50:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=719ecf3bf6ce50a8f1d02c6f96ae65e6f492321a'/>
<id>urn:sha1:719ecf3bf6ce50a8f1d02c6f96ae65e6f492321a</id>
<content type='text'>
This PR puts the [Khronos official Vulkan
Loader](https://github.com/NixOS/nixpkgs/blob/6027c30c8e9810896b92429f0092f624f7b1aace/pkgs/by-name/vu/vulkan-loader/package.nix#L22-L27)
in `LD_LIBRARY_PATH` for the `flake.nix` dev shell, allowing Vulkan
tests to run.

For example, before this PR:

```
$ build/Debug/bin/slang-test tests/compute/array-param.slang
Supported backends: glslang spirv-dis clang gcc genericcpp llvm spirv-opt
found test: 'tests/compute/array-param.slang'
Check vk,vulkan: Not Supported
Check cuda: Not Supported
ignored test: 'tests/compute/array-param.slang (cuda)' 
passed test: 'tests/compute/array-param.slang.1 (cpu)' 
ignored test: 'tests/compute/array-param.slang.2 (dx11)' 
ignored test: 'tests/compute/array-param.slang.3 (dx12)' 
ignored test: 'tests/compute/array-param.slang.4 (vk)' 

===
100% of tests passed (1/1), 4 tests ignored
===
```

In contrast, after this PR (on an Ubuntu machine with an NVIDIA GPU):

```
$ nixGLNvidia build/Debug/bin/slang-test tests/compute/array-param.slang
Supported backends: glslang spirv-dis clang gcc genericcpp llvm spirv-opt
found test: 'tests/compute/array-param.slang'
Check vk,vulkan: Supported
Check cuda: Not Supported
ignored test: 'tests/compute/array-param.slang (cuda)' 
passed test: 'tests/compute/array-param.slang.1 (cpu)' 
ignored test: 'tests/compute/array-param.slang.2 (dx11)' 
ignored test: 'tests/compute/array-param.slang.3 (dx12)' 
passed test: 'tests/compute/array-param.slang.4 (vk)' 

===
100% of tests passed (2/2), 3 tests ignored
===
```</content>
</entry>
<entry>
<title>Disable automatic `#include` insertion for clangd (#7951)</title>
<updated>2025-07-28T21:11:11+00:00</updated>
<author>
<name>Sam Estep</name>
<email>sam@samestep.com</email>
</author>
<published>2025-07-28T21:11:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a2d93ae0122aff62866e9266e5e51d4615a00783'/>
<id>urn:sha1:a2d93ae0122aff62866e9266e5e51d4615a00783</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document how to use LLDB in the Slang codebase (#7809)</title>
<updated>2025-07-24T01:34:21+00:00</updated>
<author>
<name>Sam Estep</name>
<email>sam@samestep.com</email>
</author>
<published>2025-07-24T01:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9666fbcab891156fb058d6a1b8f427ccc3ffecab'/>
<id>urn:sha1:9666fbcab891156fb058d6a1b8f427ccc3ffecab</id>
<content type='text'>
* Document how to use LLDB in the Slang codebase

* Include `slang_lldb.py` in `.lldbinit`

* Switch from GCC to Clang

* Include a VS Code task to build before debugging

* Fix clangd</content>
</entry>
<entry>
<title>Let `flake.nix` users run `extras/formatting.sh` (#7682)</title>
<updated>2025-07-14T10:16:37+00:00</updated>
<author>
<name>Sam Estep</name>
<email>sam@samestep.com</email>
</author>
<published>2025-07-14T10:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=db06fbb163877b8823507b162ee7f2dfca8520f0'/>
<id>urn:sha1:db06fbb163877b8823507b162ee7f2dfca8520f0</id>
<content type='text'>
Co-authored-by: Ellie Hermaszewska &lt;ellieh@nvidia.com&gt;</content>
</entry>
<entry>
<title>Add Nix flake for direnv (#6635)</title>
<updated>2025-03-20T15:40:57+00:00</updated>
<author>
<name>Sam Estep</name>
<email>sam@samestep.com</email>
</author>
<published>2025-03-20T15:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9b1e10ea2602c76a97ca25c27a0b3842a5bb69de'/>
<id>urn:sha1:9b1e10ea2602c76a97ca25c27a0b3842a5bb69de</id>
<content type='text'>
* Add Nix flake for direnv

* Use Sai's suggestion for the `description`

* Make `.envrc` optional

* Move Nix docs to their own section

* Tweak wording

* Tweak wording more

* Add `nixfmt`

---------

Co-authored-by: Sai Praveen Bangaru &lt;31557731+saipraveenb25@users.noreply.github.com&gt;
Co-authored-by: Ellie Hermaszewska &lt;ellieh@nvidia.com&gt;</content>
</entry>
</feed>
