Skip to content

Clean up WaveMask* implementations for SPIRV and GLSL #6839

@fairywreath

Description

@fairywreath

Slang has custom WaveMask* intrinsics which perform masked subgroup operations and are functionally the same as HLSL's WaveMultiPrefix* intrinsics. The WaveMask* functions are not properly implemented for SPIRV and GLSL however, SPV_NV_shader_subgroup_partitioned's ops should be used but instead regular non-masked subgroup ops are used. WaveMultiPrefix* support is already (correctly) implemented and the WaveMask* implementation for SPIRV and GLSL should be fixed.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions