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] RawBufferStore still trips up on missing member offsets #6554
fatal error: generated SPIR-V is invalid: Structure id 3 decorated as Block for variable in PhysicalStorageBuffer storage class must follow relaxed storage buffer layout rules: member 0 is missing an Offset decoration
%emul_float64_t = OpTypeStruct %float
Activity
[-][SPIR-V][/-][+][SPIR-V] RawBufferStore still trips up on missing member offsets[/+]sudonatalie commentedon May 1, 2024
Mateusz Kielan (@devshgraphicsprogramming) Thanks for reporting, we'll take a look.
devshgraphicsprogramming commentedon May 2, 2024
I tried to fix this with inline SPIR-V
https://godbolt.org/z/7sGojeEnK
but:
%result_id%of the type declaration of my struct (in this case is appears to be 20), ties back to [Feature Request] [SPIR-V] [Proposal 0011]vk::addrof(v)to obtain anOpTypePointerto a variable and deprecate[vk::ext_reference]#6578Set the layout rule explicitly for raw buffer operations
Set the layout rule explicitly for raw buffer operations (#6701)
Set the layout rule explicitly for raw buffer operations (microsoft#6701