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
half4 loads/stores are aligned to 8 bytes. Without MemoryAccessAlignedMask to explicitly specify the alignment, vulkan drivers might need to assume the worst case which is sizeof(half) or VkPhysicalDeviceLimits::minStorageBufferOffsetAlignment.
In the case with radv (mesa amd driver), instead of generating 2 buffer_load_dwordx4 to load a 4x4 half4 matrix, it would generate 4x buffer_load_dwordx3 plus bit manipulations instead.
The text was updated successfully, but these errors were encountered:
olvaffe
added a commit
to olvaffe/clspv
that referenced
this issue
May 21, 2024
half4 loads/stores are aligned to 8 bytes. Without
MemoryAccessAlignedMask
to explicitly specify the alignment, vulkan drivers might need to assume the worst case which issizeof(half)
orVkPhysicalDeviceLimits::minStorageBufferOffsetAlignment
.In the case with radv (mesa amd driver), instead of generating 2
buffer_load_dwordx4
to load a 4x4half4
matrix, it would generate 4xbuffer_load_dwordx3
plus bit manipulations instead.The text was updated successfully, but these errors were encountered: