Skip to content

Comments

update slang-rhi#6587

Merged
skallweitNV merged 17 commits intoshader-slang:masterfrom
skallweitNV:update-slang-rhi
Apr 24, 2025
Merged

update slang-rhi#6587
skallweitNV merged 17 commits intoshader-slang:masterfrom
skallweitNV:update-slang-rhi

Conversation

@skallweitNV
Copy link
Collaborator

@skallweitNV skallweitNV commented Mar 12, 2025

Update to latest slang-rhi version.

  • Update render test application due to slang-rhi API changes
  • Update texture format strings used in tests, they now use a CamelCase style

I had to disable two tests (adding them to expected-failure-github.txt):

In addition the following tests require the half render feature now for WGPU, because slang-rhi switched WGPU backend to Vulkan which doesn't support the f16 extension. Once we can switch back to D3D12 backend again those tests will automatically be re-enabled as the half render feature will be reported again:

  • tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Exclusive.slang
  • tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_None.slang
  • tests/glsl-intrinsic/shader-subgroup/shader-subgroup-ballot.slang
  • tests/glsl-intrinsic/shader-subgroup/shader-subgroup-quad.slang
  • tests/glsl-intrinsic/shader-subgroup/shader-subgroup-shuffle-relative.slang
  • tests/glsl-intrinsic/shader-subgroup/shader-subgroup-shuffle.slang
  • tests/hlsl-intrinsic/dot-accumulate.slang
  • tests/hlsl-intrinsic/packed/pack-unpack-float.slang

Explicitly removed testing on D3D11 for the following tests. Before, they were ignored because D3D11 didn't report the hardware-device render feature:

  • tests/glsl-intrinsic/unpack-float.slang
  • tests/hlsl-intrinsic/packed/pack-unpack-float.slang
  • tests/hlsl-intrinsic/packed/pack-unpack.slang
  • tests/hlsl-intrinsic/packed/unpack-float.slang
  • tests/hlsl-intrinsic/texture/texture-intrinsics.slang (also fixed expected result, which now matches D3D12)

@skallweitNV
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

🌈 Formatted, please merge the changes from this PR

skallweitNV added a commit to skallweitNV/slang that referenced this pull request Mar 31, 2025
@skallweitNV skallweitNV added the pr: non-breaking PRs without breaking changes label Mar 31, 2025
@skallweitNV skallweitNV force-pushed the update-slang-rhi branch 2 times, most recently from 70d25f5 to 59cfbaa Compare April 22, 2025 09:11
@skallweitNV
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

🌈 Formatted, please merge the changes from this PR

skallweitNV added a commit to skallweitNV/slang that referenced this pull request Apr 22, 2025
@skallweitNV skallweitNV marked this pull request as ready for review April 22, 2025 13:33
@skallweitNV skallweitNV requested a review from a team as a code owner April 22, 2025 13:33
Copy link
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@skallweitNV skallweitNV enabled auto-merge (squash) April 22, 2025 19:56
@jkwak-work jkwak-work self-assigned this Apr 23, 2025
@jkwak-work
Copy link
Collaborator

CI was failing on the following test,

tests/autodiff/array-param.slang (dx11)

I restarted the test but it may not be an intermittent failure.
We will see.

@skallweitNV skallweitNV merged commit ae1a5e4 into shader-slang:master Apr 24, 2025
16 checks passed
szihs pushed a commit to szihs/slang that referenced this pull request May 7, 2025
* update slang-rhi submodule

* slang-rhi API changes

* disable agility sdk

* fix texture creation

* update formats in tests

* Extent3D rename

* use 1 mip level for 1D textures for Metal

* fix texture upload

* update to latest slang-rhi

* update slang-rhi

* format code

* update slang-rhi

* do not run texture-intrinsics test on metal

* update slang-rhi

* deal with failing tests

* fix more tests

* update slang-rhi

---------

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Co-authored-by: Simon Kallweit <simon.kallweit@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: non-breaking PRs without breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants