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
deviceName has wrong type but it was original for sbyte*
because It happens if I follow step to step with Vulkan + WinAPI click here
This section should contain an expanded description of the bug, if the title is
not sufficient.
Because it has wrong structure / type and I cannot pass to sbyte* explict
Reproduction Steps
This section should contain an ordered list of steps that can be used to
reproduce the bug. Ideally, you would include as much information about your
environment as possible to help use in determining the best fix for the issue.
How do I replace with sbyte*?
Expected Behavior
I have tried ... No success....
Actual Behavior
I think we need to replace VkPhysicalDeviceProperties_deviceName_e__fixedBuffer with sbyte*
Thank you!
The text was updated successfully, but these errors were encountered:
DeafMan1983
added
bug
An issue for something that does not behave as expected.
untriaged
An issue that has not been triaged by the repo maintainers.
labels
Jul 14, 2024
It is not an sbyte* and has never been an sbyte*, it is an inline array of type sbyte which exactly matches the underlying Vulkan type definition. Previously it was using the legacy fixed sbyte deviceName[256] syntax and has since switched to explicitly using [InlineArray(256)] which is new in .NET 8.
You can simply get a span to the backing data, such as via:
Description (optional)
deviceName has wrong type but it was original for sbyte*
because It happens if I follow step to step with Vulkan + WinAPI click here
This section should contain an expanded description of the bug, if the title is
not sufficient.
Because it has wrong structure / type and I cannot pass to sbyte* explict
Reproduction Steps
This section should contain an ordered list of steps that can be used to
reproduce the bug. Ideally, you would include as much information about your
environment as possible to help use in determining the best fix for the issue.
How do I replace with
sbyte*
?Expected Behavior
I have tried ... No success....
![image](https://private-user-images.githubusercontent.com/57066679/348562943-0593994a-4b3e-4c7e-879a-8016230782bb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTM1NTcsIm5iZiI6MTczOTAxMzI1NywicGF0aCI6Ii81NzA2NjY3OS8zNDg1NjI5NDMtMDU5Mzk5NGEtNGIzZS00YzdlLTg3OWEtODAxNjIzMDc4MmJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDExMTQxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3YzVjODVmYjQwMTg0ODQ2Y2IzZjUyMGZlYTc1YmM5ZWRhYmI3YTlkNTlhOWQxMGFiZDU0MGZlNWZlMzU2MGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.BI60gwHqZ0dfr_ZCsMN4jZd77EtQUipCJYPjtWamb78)
Actual Behavior
I think we need to replace VkPhysicalDeviceProperties_deviceName_e__fixedBuffer with sbyte*
Thank you!
The text was updated successfully, but these errors were encountered: