<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/render, 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-06-05T20:18:42+00:00</updated>
<entry>
<title>Check the supported backends in CI (#7346)</title>
<updated>2025-06-05T20:18:42+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-06-05T20:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=94215dcdcb8b9003c3e6d12308ea006e827febc9'/>
<id>urn:sha1:94215dcdcb8b9003c3e6d12308ea006e827febc9</id>
<content type='text'>
slang-test is ran with a simple test, tests/render/check-backend-support-on-ci.slang.
And the github CI,yaml will check if certain keywords are found.
This is to prevent the regression on the CI server where a set of backend was supported at some point and it stopped supporting it siliently.</content>
</entry>
<entry>
<title>fix(d3d11): correct parameter in VSSetConstantBuffers1 from uavCount … (#6690)</title>
<updated>2025-04-04T06:57:08+00:00</updated>
<author>
<name>Harsh Aggarwal (NVIDIA)</name>
<email>haaggarwal@nvidia.com</email>
</author>
<published>2025-04-04T06:57:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=4233d69cf88f1623cb573c8edb61456b24dc5339'/>
<id>urn:sha1:4233d69cf88f1623cb573c8edb61456b24dc5339</id>
<content type='text'>
* fix(d3d11): correct parameter in VSSetConstantBuffers1 from uavCount to cbvCount (fixes #6531)

Root cause - Incorrect parameter passing in slang-rhi

1. slang-rhi #281 - Add the correct cbvCount for setting Constant Buffer
2. Prevent render tests from overwriting reference images
    * Add missing tests/render/multiple-stage-io-locations.slang.3.expected.png

* Add more expected images from texture2d-gather

* Add new option: skipReferenceImageGeneration

For Github CI we set this to true - So we don't overwrite the expected
images

---------

Co-authored-by: Jay Kwak &lt;82421531+jkwak-work@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Migrate render-test away from deprecated compile request API (#6514)</title>
<updated>2025-03-12T11:44:57+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2025-03-12T11:44:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f4d5372d3354e62770b076b47892b5172223e98a'/>
<id>urn:sha1:f4d5372d3354e62770b076b47892b5172223e98a</id>
<content type='text'>
* Add a simple interface parameter test

Since there's no documentation, it's nice to have a simple test case in order to
experiment with this feature of the testing framework.

* Add shader entry point attributes to tests

* Fix specialization arguments for tests

- Add some missing arguments
- Rremove one extraneous argument.

* Stop using deprecated compile request in render-test

Use a session object instead of the deprecated compile request object.
This closes issue #4760.</content>
</entry>
<entry>
<title>maxtessfactor attribute should take a floating point value (#6289)</title>
<updated>2025-02-06T00:23:40+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-02-06T00:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d8a8559a5baebb81361b15cf86d28c9e8019b177'/>
<id>urn:sha1:d8a8559a5baebb81361b15cf86d28c9e8019b177</id>
<content type='text'>
* maxtessfactor attribute should take a floating point value

* Support integer value on maxtessfactor</content>
</entry>
<entry>
<title>Support interpolation modifiers for WGSL (#5641)</title>
<updated>2024-11-25T14:05:13+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-11-25T14:05:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d282701ba76e9883d2b7be39ee614fe3bb4f5165'/>
<id>urn:sha1:d282701ba76e9883d2b7be39ee614fe3bb4f5165</id>
<content type='text'>
* wgsl: Support interpolation modifiers

* Move struct key decorations to flattened structs.
** This includes interpolation mode decorations, which must be in the flattened struct.
* Emit interpolation attribute.
* Enable tests/render/nointerpolation.hlsl for WGSL, as a result.

This closes #5625.

* Add new expected output for 'nointerpolation' test</content>
</entry>
<entry>
<title>Fix issue where inter-stage parameters without semantics don't get location attributes (#5670)</title>
<updated>2024-11-25T13:40:47+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-11-25T13:40:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=044b52c3195edf3282a0b530a21ad54b87135cd9'/>
<id>urn:sha1:044b52c3195edf3282a0b530a21ad54b87135cd9</id>
<content type='text'>
* wgsl: Make sure each shader input field has a semantic

This closes #5633.

* Add test for inter-stage variables without semantics

This verifies the fix of the second issue identified in
https://github.com/shader-slang/slang/issues/5633

* format code

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>wgsl: Fix field semantics even if input struct doesn't need flattening (#5642)</title>
<updated>2024-11-25T08:15:20+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-11-25T08:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=aaca2d2b615ce113ae9eff11a6fc01f579471b12'/>
<id>urn:sha1:aaca2d2b615ce113ae9eff11a6fc01f579471b12</id>
<content type='text'>
* wgsl: Fix field semantics even if input struct doesn't need flattening

Helps to address issue #5633.

* Add test for multiple stage IO locations

This verifies part of issue #5633.</content>
</entry>
<entry>
<title>Enable some rendering tests (#5623)</title>
<updated>2024-11-21T19:42:29+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-11-21T19:42:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=dcc7c6f009afc0f55e79ced050b772ea9d3b25ae'/>
<id>urn:sha1:dcc7c6f009afc0f55e79ced050b772ea9d3b25ae</id>
<content type='text'>
* render-test: Add copy-source usage for render targets

I found that Slang-RHI/WGPU was not able to copy from render targets to staging buffers.

This helps to address issue #4943.

* Add entries to render API util infos

Entries for glsl-cross and glsl-rewrite are added.

Without glsl-cross, slang-test fails to select a back-end, and winds up crashing when
tests/render/cross-compile-entry-point.slang is enabled

tests/render/cross-compile0.hlsl fails similarly without glsl-rewrite.

* Enable some rendering tests

* Add expected test outputs</content>
</entry>
<entry>
<title>Draft: integrate slang-rhi (#4970)</title>
<updated>2024-08-30T16:50:19+00:00</updated>
<author>
<name>Simon Kallweit</name>
<email>64953474+skallweitNV@users.noreply.github.com</email>
</author>
<published>2024-08-30T16:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f428a058ea48535a323c32d206ebc7e551c3c3e9'/>
<id>urn:sha1:f428a058ea48535a323c32d206ebc7e551c3c3e9</id>
<content type='text'>
* add slang-rhi submodule

* refactor render-test to use slang-rhi and remove OpenGL support

* remove -vk -glsl tests

* remove gl test

* disable failing test

* allow recursive submodules in github actions

* update slang-rhi

* update slang-rhi

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Improve Vulkan shader-objects implementation. (#1765)</title>
<updated>2021-03-25T16:41:53+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2021-03-25T16:41:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=e050035e0b7d3f257a46bc1cb644163026cb1b23'/>
<id>urn:sha1:e050035e0b7d3f257a46bc1cb644163026cb1b23</id>
<content type='text'>
* Improve Vulkan shader-objects implementation.

1. Null bindings no longer crashes.
2. No longer copies push constants to staging CPU buffer before setting it into command buffer. The entry-point shader object now directly sets it into command buffer upon `bindObject` call.

* Update comments

* Fix

* Re-enable 3 tests.

Improved vulkan implementation so that each shader object is responsible for creating descriptor sets on-demand.

Fixed slang reflection to correctly report `ParameterBlock` binding.

* Fix gcc compile error.</content>
</entry>
</feed>
