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
[SPIRV] Structs with Bitfields used as input or output consume superfluous locations #7491
Description
Structs with Bitfields used as input or output consume superfluous locations
and DXC sizeof() knows the size of the struct with bitfields is 4
changed the title [-]Structs with Bitfields used as input or output consume superfluous locations[/-][+][SPIRV] Structs with Bitfields used as input or output consume superfluous locations[/+]on May 29, 2025
I'm guessing the code that assigns the location goes though the members of the struct in away that treats each bitfield as a separate member. The loop that traverse the structs needs to be updated.
Activity
[-]Structs with Bitfields used as input or output consume superfluous locations[/-][+][SPIRV] Structs with Bitfields used as input or output consume superfluous locations[/+]s-perron commentedon May 29, 2025
I'm guessing the code that assigns the location goes though the members of the struct in away that treats each bitfield as a separate member. The loop that traverse the structs needs to be updated.
s-perron commentedon Jan 19, 2026
Nathan Gauër (@Keenuts) We should add testing for this in the offload test suite, and make sure the DXC and clang work properly.