unknownue/vulkan-tutorial-rust

Example 16 has wrong colors on OS X

buzmeg opened this issue · 8 comments

Example 16 looks like this on my machine, while the snapshot has the standard RGB in the different corners.

Screen Shot 2019-06-15 at 12 51 00 AM

This problem does not reproduce on my machine. Example 15 is the first triangle appears on screen.
Does Example 15 share the same problem?

Yes, 15 and 16 look the same.

I suggest you try running the example code of ash. This help me to figure out if it's the problem of my code, a machine specific problem, or any bug issure in SDK.
I can't debug a problem which does not reproduce on my machine.

Since there is no response for a long time. I would close this issue. If this problem still reproduces, open the issue again.

Can confirm that this still exists as of vulkansdk-macos-1.1.114.0. Running both triangle and texture examples in ash work fine.

Edit: Can't reopen bug that has been closed by collaborators (gee, thanks, github). If this doesn't reopen in a couple days, I will file another bug.

Can confirm that this fails on OS X 10.12.6 and succeeds on 10.14.5.

I have no access to machine running on previous version of macOS.
Since metal is updated along with macOS, the problem may cause by some missing feature of metal or compatibility issue with MoltanVK.

To farther identify the problem, you may try to run the original C++ version of example 16 on 10.12.6.
If this problem still exists, it means OSX 10.12 is not compatible with Vulkan.
If this problem disappears, something is wrong when bridging Rust and Vulkan.
If you find fixing this issue is meaningless, just close this issue.

Yeah, let's close this as a "Won't Fix". It's probably a real issue, but it's probably not worth running down if nobody has computers for which it matters anymore.