You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SPIR-V] pow hitting assert on half and float types for Vulkan target #7702
changed the title [-][SPIR-V] `pow` hitting assert on half types for Vulkan target[/-][+][SPIR-V] `pow` hitting assert on half and float types for Vulkan target[/+]on Aug 20, 2025
I think that adding the capabilities is stopping the instruction folder from folding the instruction. It then goes through a different path in the constant propagation pass, and exposing the bug. There are two issues to fix:
Activity
s-perron commentedon Aug 19, 2025
FYI: Lucie Choi (@luciechoi)
[-][SPIR-V] `pow` hitting assert on half types for Vulkan target[/-][+][SPIR-V] `pow` hitting assert on half and float types for Vulkan target[/+]s-perron commentedon Aug 21, 2025
This look like a duplicate of another issue I assigned to you.
bogner commentedon Aug 25, 2025
FWIW this assert doesn't appear to trigger prior to #7693, so this is likely an issue with nan, inf, or signed zeros.
s-perron commentedon Aug 26, 2025
I think that adding the capabilities is stopping the instruction folder from folding the instruction. It then goes through a different path in the constant propagation pass, and exposing the bug. There are two issues to fix:
luciechoi commentedon Sep 3, 2025
The assertion error should be fixed by KhronosGroup/SPIRV-Tools#6287
Created a separate issue for tracking
-Gisfolding.