<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tools/slang-unit-test/unit-test-record-replay.cpp, 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-01T17:02:02+00:00</updated>
<entry>
<title>disable ray-tracing-pipeline test (#8023)</title>
<updated>2025-08-01T17:02:02+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-08-01T17:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=374026df12021ce2f90cbd86d6e7ec6a181f6038'/>
<id>urn:sha1:374026df12021ce2f90cbd86d6e7ec6a181f6038</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix retry logic for unit test (#7471)</title>
<updated>2025-06-18T23:38:39+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-06-18T23:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=3cbc500118d27f82c89f401ffb34826264e9cb60'/>
<id>urn:sha1:3cbc500118d27f82c89f401ffb34826264e9cb60</id>
<content type='text'>
* Fix the ignored unit-tests on retry

* Retrigger CI

* Add more error messages

* Don't use test-server for retry of unit-test to see error messages

* Clean up cl.yml

Remove 'has-gpu' because it is unused after debug became full-gpu-test.
Renamed files to make the meaning more clear:
- Renamed expected-failure.txt to expected-failure-via-glsl.txt
- Renamed expected-failure-github-runner.txt to expected-failure-no-gpu.txt

* Rename cpu-hello-world.slang to avoid name conflict to example

We have an example whose executable name is cpu-hello-world.exe.
It gets built when you run `cmake --build`, but it gets overwritten by
slang-test when it tests `tests/cpu-program/cpu-hello-world.slang`.

This PR renames to avoid the name conflict.

* Remove debug code

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Clean up a dead code forgot to delete (#7358)</title>
<updated>2025-06-05T23:48:21+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-06-05T23:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=4cfc0f1fd67499847f2fa745cd083ebf0edd8188'/>
<id>urn:sha1:4cfc0f1fd67499847f2fa745cd083ebf0edd8188</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Break down record replay to individual tests to avoid timeout (#7340)</title>
<updated>2025-06-04T17:35:52+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-06-04T17:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=b9dc21d362f65f22bc707bede733a9537b80460a'/>
<id>urn:sha1:b9dc21d362f65f22bc707bede733a9537b80460a</id>
<content type='text'>
* Break down RecordReply to individual tests to avoid timeout

In Debug build, RecordReplay unit-test was timing out.
It was running six tests all in one unit-test, but this commit breaks it
down to individual test so that each unit test can be done within the
timeout limit.

This issue has seen only in Debug build but it has been unnoticed
because even when the test failed with test-server, it was still passing
on its retry because the time-out applies only when using test-server.

* Reduce the retry from 2 times to 1 time

* Remove RecordReplay from expected failure</content>
</entry>
<entry>
<title>Fix intermittent failure of slang-unit-test-tool/ReplayRecord (#6981)</title>
<updated>2025-05-02T20:08:49+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-05-02T20:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1b539d8907af3cc77e52e8cf4edf029964e0423a'/>
<id>urn:sha1:1b539d8907af3cc77e52e8cf4edf029964e0423a</id>
<content type='text'>
* Fix intermittent failure of slang-unit-test-tool/ReplayRecord

Three problems are addressed:
1. the graphics driver sometimes returns nullptr from GetShaderIdentifier
2. `findRecordFileName()` may not find any records at all.
3. the return value from cleanupRecordFiles() overwrote the error value
   in `res` and it returned SLANG_OK even when there were errors.

* Fix compiler warnings on Windows</content>
</entry>
<entry>
<title>Correct include dir for libslang (#5539)</title>
<updated>2024-11-14T04:34:18+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2024-11-14T04:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7b570feed42976a6e787d79a70aaf8e667745e58'/>
<id>urn:sha1:7b570feed42976a6e787d79a70aaf8e667745e58</id>
<content type='text'>
This stops adding the repo root to the include path for anything linking
with slang. This enabled a bunch of convenient includes, but might lead
to confusing behavior for anyone including slang. Not to mention
differences including it from an install vs source.

Co-authored-by: Yong He &lt;yonghe@outlook.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>Add Path::removeNonEmpty() to remove non-empty dir (#4984)</title>
<updated>2024-09-03T20:02:48+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2024-09-03T20:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1673cf934b0871a6dd3b552a80913a5737fa3f61'/>
<id>urn:sha1:1673cf934b0871a6dd3b552a80913a5737fa3f61</id>
<content type='text'>
We've implemented a function in slang-record-replay unit test
to remove the non-empty directory, now move this function into
slang `Path` namespace to make this function as an utility.

Close issue #4916</content>
</entry>
<entry>
<title>capture component type (#4967)</title>
<updated>2024-08-30T20:57:11+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2024-08-30T20:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=3cf5935b434a8b9a07a6df5a6ab4c4dc373a1ac3'/>
<id>urn:sha1:3cf5935b434a8b9a07a6df5a6ab4c4dc373a1ac3</id>
<content type='text'>
* Refactor the IComponentType recording

Refactor the `IComponentType` recording by creating a abstract class
`IComponentTypeRecorder` to record all the methods of `IComponentType`,
so that `ICompositeComponentType`, `IModule`, 'IEntryPoint',
'ITypeConformance' can share the same recording implementation.

Capture the out IComponentType from
linkWithOptions()
link()
specialize()
renameEntryPoint()

* fix bugs

* Finish the unimeplemented functions in json consumer

Fix the address print to use 64 bit hex.
Fix the reference count issue when allocating new recorder object.

* Disable few examples using reflection APIs

* Add gpu-printing example into slang-test

* Replace of using std::unique_ptr with RefPtr</content>
</entry>
<entry>
<title>Migrate 3 more examples to slang-unit-test (#4927)</title>
<updated>2024-08-29T00:36:31+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2024-08-29T00:36:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=efda04f3cc784dde42bd15fd1d33edeea0f3cd92'/>
<id>urn:sha1:efda04f3cc784dde42bd15fd1d33edeea0f3cd92</id>
<content type='text'>
* Convert 'ray-tracing-pipeline' example into slang-test

* Convert model-view and 'autodiff-texture' examples to slang-test

* Add more error message in RecordReplay test

* Fix a shader issue in autodiff-texture</content>
</entry>
</feed>
