<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/external/CMakeLists.txt, 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-10-11T00:51:58+00:00</updated>
<entry>
<title>Update build to allow setting external mimalloc path (#8676)</title>
<updated>2025-10-11T00:51:58+00:00</updated>
<author>
<name>Lujin Wang</name>
<email>143145775+lujinwangnv@users.noreply.github.com</email>
</author>
<published>2025-10-11T00:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d0641da8c7f27dfca5b0ae3bc7c737c7859e3939'/>
<id>urn:sha1:d0641da8c7f27dfca5b0ae3bc7c737c7859e3939</id>
<content type='text'>
Update the build to allow setting user-specific path for the external
module mimalloc.</content>
</entry>
<entry>
<title>Fix SPIRV headers precedence (#8481)</title>
<updated>2025-09-19T15:45:30+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-09-19T15:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=48cbbcfeb3531a819edd74e072ca3c4b4379c5a3'/>
<id>urn:sha1:48cbbcfeb3531a819edd74e072ca3c4b4379c5a3</id>
<content type='text'>
Remove SYSTEM flag from SPIRV-Headers to fix MacOS header precedence.

When the path is registered as SYSTEM, it is used with `-isystem` option
not `-I` option and it gets less searching order on MacOS.

When spirv.h is installed on the system directory, it will end up using
the system installed spirv.h, which is most likely an older version than
we should use.</content>
</entry>
<entry>
<title>Set default mimalloc for spirv-tools but allow user to override (#8460)</title>
<updated>2025-09-17T19:27:57+00:00</updated>
<author>
<name>Gangzheng Tong</name>
<email>tonggangzheng@gmail.com</email>
</author>
<published>2025-09-17T19:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=58060d2f7e86427124551f3f6edcf05bf6e4d229'/>
<id>urn:sha1:58060d2f7e86427124551f3f6edcf05bf6e4d229</id>
<content type='text'>
This PR resolves a configuration conflict where the
SLANG_ENABLE_SPIRV_TOOLS_MIMALLOC option was defined twice with
different defaults, causing user settings to be overridden.
Changes:

- Removed duplicate definition in external/CMakeLists.txt that only
applied to WIN32
- Define default in main CMakeLists.txt
  - ON by default for Windows
- OFF by default for other platforms (still need to resolve crashes so
set it to `OFF` for now)

Preserved user configuration - explicit
-DSLANG_ENABLE_SPIRV_TOOLS_MIMALLOC=value settings are now properly
respected

Related to https://github.com/shader-slang/slang/issues/8158

---------

Co-authored-by: slangbot &lt;ellieh+slangbot@nvidia.com&gt;
Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Enable static mimalloc in Spriv-Tools (#8419)</title>
<updated>2025-09-16T01:46:59+00:00</updated>
<author>
<name>Gangzheng Tong</name>
<email>tonggangzheng@gmail.com</email>
</author>
<published>2025-09-16T01:46:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=8ad0ae17880480abe587617c997ab28b23abc146'/>
<id>urn:sha1:8ad0ae17880480abe587617c997ab28b23abc146</id>
<content type='text'>
* Added optional mimalloc integration for SPIRV-Tools to improve
compilation performance
* Cloning `mimalloc` repo to external/ on demand during cmake config
* Enabled by default on Windows, configurable via
`SLANG_ENABLE_SPIRV_TOOLS_MIMALLOC` CMake option, to enable static
mimalloc build in spirv-tools.
* There are some crashes in Linux and Mac with static mimalloc enabled,
likely due to the system malloc and mimalloc mixed usage. This might be
expected as mimalloc in spirv-tools is not extensively tested according
to
https://github.com/KhronosGroup/SPIRV-Tools?tab=readme-ov-file#dependency-on-mimalloc.
So by default only Windows has this enabled.


Close: https://github.com/shader-slang/slang/issues/8158

---------

Co-authored-by: slangbot &lt;ellieh+slangbot@nvidia.com&gt;
Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Add more system dependency options to CMake (#7987)</title>
<updated>2025-08-20T19:52:42+00:00</updated>
<author>
<name>Niklas Korz</name>
<email>niklas@niklaskorz.de</email>
</author>
<published>2025-08-20T19:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=619de903b70e08a7ca8471419e8eb7e4dd43ca9d'/>
<id>urn:sha1:619de903b70e08a7ca8471419e8eb7e4dd43ca9d</id>
<content type='text'>
Allows opt-in for sourcing the following dependencies from the system,
instead of using the vendored ones:

- miniz
- lz4
- vulkan-headers
- spirv-tools
- glslang

(some of these already had options that weren't working, as either it
expected them to be static libraries or it was expecting to be embedded
in another CMakeList that should provide the package, instead of finding
the package itself)

This is based on a patch we currently maintain inside nixpkgs, but as it
frequently conflicts with new slang releases, it would be nice to see
get
this upstream.

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;
Co-authored-by: Sam Estep &lt;sam@samestep.com&gt;</content>
</entry>
<entry>
<title>CMake: Guard inclusion of VULKAN_HEADERS and SPIRV-Headers (#8124)</title>
<updated>2025-08-19T18:03:38+00:00</updated>
<author>
<name>Sergei Popov</name>
<email>sergei.e.popov@gmail.com</email>
</author>
<published>2025-08-19T18:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6321bf07f701692b82bb3a767071e68fc7e19bbf'/>
<id>urn:sha1:6321bf07f701692b82bb3a767071e68fc7e19bbf</id>
<content type='text'>
Don't include the VULKAN_HEADERS and SPIRV-Headers submodule if they are
already included.
Fix for the https://github.com/shader-slang/slang/issues/7898.

---------

Co-authored-by: Ellie Hermaszewska &lt;ellieh@nvidia.com&gt;
Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;
Co-authored-by: Jay Kwak &lt;82421531+jkwak-work@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Fix SLANG_USE_SYSTEM_SPIRV_HEADERS=TRUE (#7916)</title>
<updated>2025-07-25T18:00:33+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2025-07-25T18:00:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9cfdf5de6b867ca7a95b3a74f30471cbe7c87494'/>
<id>urn:sha1:9cfdf5de6b867ca7a95b3a74f30471cbe7c87494</id>
<content type='text'>
find_package is locally scoped, so like other find_packages we should do
it at the top level

Closes https://github.com/shader-slang/slang/issues/7643</content>
</entry>
<entry>
<title>Fix SLANG_USE_SYSTEM_SPIRV_HEADERS  (#7371)</title>
<updated>2025-06-13T19:48:26+00:00</updated>
<author>
<name>Emil Imbert Villumsen</name>
<email>emimvi@gmail.com</email>
</author>
<published>2025-06-13T19:48:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1d8f6f86d1a6d33ff6e6429206b94d72457e1378'/>
<id>urn:sha1:1d8f6f86d1a6d33ff6e6429206b94d72457e1378</id>
<content type='text'>
* Use aliased SPIRV-Headers::SPIRV-Headers to also work with an installed SPIRV-Headers

SPIRV-Headers standalone is only defined when using sources directly.
When consuming an installed SPIRV-Headers via find_package, the full SPIRV-Headers::SPIRV-Headers must be used.

The full syntax is supported by both source and installed builds.

* Fix SLANG_USE_SYSTEM_SPIRV_HEADERS

- Use find_package to bring in SPIRV-Headers cmake targets
- Set SPIRV-Headers_SOURCE_DIR as a workaround when including
  spirv-tools
- Query cmake for SLANG_SPIRV_HEADERS_INCLUDE_DIR location, supporting
  default, SLANG_OVERRIDE_SPIRV_HEADERS_PATH and find_package builds.
- Cleanup unnecessary SPIRV_HEADER_DIR (unconditionally overwritten in
  spirv-tools)</content>
</entry>
<entry>
<title>Re-enable running slang-rhi-tests (#7360)</title>
<updated>2025-06-13T16:02:23+00:00</updated>
<author>
<name>Simon Kallweit</name>
<email>64953474+skallweitNV@users.noreply.github.com</email>
</author>
<published>2025-06-13T16:02:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ad6478f1346d3f004d88ce8c7e38479520bb6656'/>
<id>urn:sha1:ad6478f1346d3f004d88ce8c7e38479520bb6656</id>
<content type='text'>
* enable building slang-rhi-tests

* re-enable running slang-rhi-tests

* format code

* fix typo

* update slang-rhi

* build slang-rhi-tests without glfw dependency

* skip fence tests

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;
Co-authored-by: amey asgaonkar &lt;160177341+aasgaonkar@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Disable coopvec while using Agility SDK and until graphics driver supports it (#7357)</title>
<updated>2025-06-06T16:26:02+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-06-06T16:26:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=2203df78332f155374866b172887d2568422ed76'/>
<id>urn:sha1:2203df78332f155374866b172887d2568422ed76</id>
<content type='text'>
* Disable coopvec tests until we have the driver support

* Remove conflicting agility sdk binaries</content>
</entry>
</feed>
