From e420f2f980813559b186a6a6bcd5540f74310d02 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 9 Oct 2025 18:30:24 -0700 Subject: Defer `IRCastStorageToLogicalDeref` in lowerBufferElementType pass. (#8668) Fix a regression on metal test. In `lowerBufferElementTypeToStorageType` pass, not only we want to defer an argument that is `CastStorageToLogical` to the callee, but also apply the same defer logic to `CastStorageToLogicalDeref` as well. Because `CastStorageToLogicalDeref` will appear as argumnet if `lowerBufferElementTypeToStorageType` is run before we apply the `in->borrow` transformation pass, which is the case for metal parameter block legalization. --- .github/workflows/ci-slang-test.yml | 3 --- 1 file changed, 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci-slang-test.yml b/.github/workflows/ci-slang-test.yml index ec2eb6a8f..391716d2e 100644 --- a/.github/workflows/ci-slang-test.yml +++ b/.github/workflows/ci-slang-test.yml @@ -143,9 +143,6 @@ jobs: - name: Run slang-rhi tests run: | export SLANG_RHI_EXCLUDE_TESTS="md-clear*,cmd-copy*,cmd-upload*,fence*,staging-heap*,texture-create*" - if [[ "${{ inputs.os }}" == "macos" ]]; then - export SLANG_RHI_EXCLUDE_TESTS="sampler-array" - fi "$bin_dir/slang-rhi-tests" -check-devices -tce="$SLANG_RHI_EXCLUDE_TESTS" # Run slangpy tests when: -- cgit v1.2.3