-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulkan examples regression: descriptor indexing and oit #2216
Comments
After a bit of debugging, I believe the first one is a SPIRVCross defect. I patched in the old SPIRVCross (from MoltenVK 1.2.4) at commit 12542fc to the most recent head of MoltenVK 1.2.9. I had to comment out a few newer msl options, but this did not seem to affect things for the descriptorindexing example. I now have a working example with this mashup. Note the newest SPRIVCross for SDK 1.3.283/MVK 1.2.9 does not fix it. I have not done any research on the second issue above (oit example). Using the older SPIRVCross does not fix it. |
Issue one (descriptorindexing) reported with additional data at the existing KhronosGroup/SPIRV-Cross#2198 Issue two (oit) still not understood. |
What OS? More specifically, what version? |
OS is Ventura 13.6.6 (on x86) with Xcode 15.2. GPU is AMD Radeon 6600 (Metal Tier 2). |
The bit 0x20 is |
Thanks for submitting this as an issue affecting a known sample app! It made it much easier to track down! PR #2231 fixes this part of this issue. |
@SRSaunders Can you try changing: MoltenVK/MoltenVK/MoltenVK/GPUObjects/MVKImage.mm Line 1084 in 1abae61
to include |
Fantastic! Both issues are solved for me now. For issue one (arg buffer padding), I checked out KhronosGroup/SPIRV-Cross@e41d79f and rebuilt the External Dependencies project, followed by the MoltenVK project. The descriptorindexing example is now working fine. For issue two ( Thanks for jumping on these and solving so quickly. |
Wonderful! Thanks for testing. I'll make that simple change here and run CTS to see if it breaks anything, then I'll issue a PR. |
The updated PR #2231 now also fixes this part of this issue. |
I have now tested against the new merged PR and the Vulkan examples work well. Thanks again. Closing issue. |
I have been working on updating macOS and iOS support and fixing a few defects that I found in Sascha Willems' Vulkan examples repository. See SaschaWillems/Vulkan#1117 and SaschaWillems/Vulkan#1119. During this work I observed two examples that expose what appear to regressions across MoltenVK releases:
• The descriptorindexing example runs well on Vulkan SDK 1.3.250.1/MoltenVK 1.2.4, but fails on any later release with:
• The oit example runs well up to SDK 1.3.275.0/MoltenVK 1.2.7, but fails on the current release (1.3.280.0/1):
The first of these may be a duplicate of #2180, but I just wanted to report them here to make sure the MoltenVK team is aware.
The text was updated successfully, but these errors were encountered: