<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/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>cmake: install config files into the correct directory for find_package() (#8482)</title>
<updated>2025-09-29T06:35:14+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2025-09-29T06:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9936bccab1537e5430af449651db70c3f5d591df'/>
<id>urn:sha1:9936bccab1537e5430af449651db70c3f5d591df</id>
<content type='text'>
cmake's find_package() will only find the configs when they are in a
slang/ subdirectory.

Co-authored-by: Mukund Keshava &lt;mkeshava@nvidia.com&gt;</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>Update slang-rhi deps for gfx-unit-test (#8237)</title>
<updated>2025-08-26T18:01:07+00:00</updated>
<author>
<name>Gangzheng Tong</name>
<email>tonggangzheng@gmail.com</email>
</author>
<published>2025-08-26T18:01:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=0b87355f946b9a0f8b7fa9225369dade3d5bf84a'/>
<id>urn:sha1:0b87355f946b9a0f8b7fa9225369dade3d5bf84a</id>
<content type='text'>
This PR marks the `slang-rhi` a required dependecy for `platform` and
`gfx-unit-test`, and only build them when `SLANG_ENABLE_SLANG_RHI=ON`.
This should allow the slang still to be built without those tests
components when `SLANG_ENABLE_SLANG_RHI=OFF`.

---------

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>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>bump and pin cmake formatter version (#7800)</title>
<updated>2025-07-17T03:37:10+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2025-07-17T03:37:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=3e42d1bf2e186341a6cfee21760db7975d09d263'/>
<id>urn:sha1:3e42d1bf2e186341a6cfee21760db7975d09d263</id>
<content type='text'>
* print tool versions for formatter

* formatting

* bump cmake formatter version</content>
</entry>
<entry>
<title>Comment SLANG_OVERRIDE options (#7584)</title>
<updated>2025-07-02T01:20:29+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2025-07-02T01:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=83c72fd8772d312233f4e3ccd4154b81030d4795'/>
<id>urn:sha1:83c72fd8772d312233f4e3ccd4154b81030d4795</id>
<content type='text'>
Closes https://github.com/shader-slang/slang/issues/7309</content>
</entry>
<entry>
<title>Reset minimum cmake version to 3.22 (#7548)</title>
<updated>2025-06-30T19:11:04+00:00</updated>
<author>
<name>Gangzheng Tong</name>
<email>tonggangzheng@gmail.com</email>
</author>
<published>2025-06-30T19:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a55ff722cae338a8fcf5402858c47cf0650a8e5e'/>
<id>urn:sha1:a55ff722cae338a8fcf5402858c47cf0650a8e5e</id>
<content type='text'>
* Reset minimum cmake version to 3.22

* update slang-rhi</content>
</entry>
</feed>
