diff options
| author | Tianyu Li <ltyucb@gmail.com> | 2025-08-21 01:32:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-20 17:32:13 +0000 |
| commit | 82e3fc9c1064f06780f6449154c7cf8f663fceac (patch) | |
| tree | 99ad135852e66f8f6d20384ca479f936e2475fcf /source/core/slang-http.cpp | |
| parent | a26a11ff5c3f14401bbbbbc4b6e3731056618138 (diff) | |
Add Metal support for WaveGetActiveMask and WaveActiveCountBits (#8218)
## Summary
- Add Metal platform support for `WaveGetActiveMask()` and
`WaveActiveCountBits()` wave intrinsics
- Update capability requirements to include Metal platform for subgroup
ballot operations
- Implement Metal-specific intrinsic assembly using `simd_ballot()` and
`simd_vote` APIs
## Changes
- **source/slang/hlsl.meta.slang**:
- Add Metal target case for `WaveGetActiveMask()` using
`simd_ballot(true)`
- Update capability requirements from `cuda_glsl_hlsl_spirv` to
`cuda_glsl_hlsl_metal_spirv` for wave ballot functions
- **source/slang/slang-capabilities.capdef**:
- Add `metal` to `subgroup_ballot_activemask` capability alias
Diffstat (limited to 'source/core/slang-http.cpp')
0 files changed, 0 insertions, 0 deletions
