MemCopyFloat32 Deprecated?
koenig-dominik opened this issue · comments
In the file vulkandraw.go:662 there is MemCopyFloat32 used, but in the current vulkan-go api there is only Memcopy defined, which only takes []byte
Also in the file helpers.go:70 there is MemCopyByte used which should be changed to Memcopy
@koenig-dominik
Hi! Thanks, indeed this is deprecated, I decided to stick with 1 method that is just an unsafe version of Go's copy
.
Sad thing is that I forgot to add the corresponding changes to demos in time ;)
I did that within 4f6208b now.
P.S. []float32
-> []byte
conversion helpers are now part of linmath Go package. You can simply copy/paste these snippets or just import that package. Thanks for your report.
Thanks a lot!