Skip to content

Conversation

@Feralnex
Copy link
Contributor

@Feralnex Feralnex commented Oct 21, 2024

PR Details

Updated Vortice.Vulkan package to the latest version (1.2.167 -> 2.1.2)

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

@Feralnex Feralnex marked this pull request as ready for review October 23, 2024 17:38
@Eideren
Copy link
Collaborator

Eideren commented Oct 26, 2024

Looks good, thanks a bunch @Feralnex - did you test a game built under vulkan with these changes ?

@Feralnex
Copy link
Contributor Author

@Eideren only "New game" example from stride templates. Would be good if somebody with more advanced project could test it before merging

@VaclavElias VaclavElias linked an issue Dec 1, 2024 that may be closed by this pull request
@VaclavElias
Copy link
Contributor

Vortice.Vulkan is now 2.1.0. The linked issue has response fromt the author, if a help is required.

@Feralnex
Copy link
Contributor Author

Vortice.Vulkan is now 2.1.0. The linked issue has response fromt the author, if a help is required.

Sorry for the delay, I'm still unpacking things (I moved to a new flat). I'll update it in a new year if nobody wants to take it over ; ) I'll come back to Stride in the second part of January or in February

@VaclavElias
Copy link
Contributor

Thanks for an update. Take your time. Hope to see you around once you are settled 🙂.

@Eideren
Copy link
Collaborator

Eideren commented Feb 22, 2025

Converting this to draft, let us know if/when it is done @Feralnex :)

@Eideren Eideren marked this pull request as draft February 22, 2025 14:56
@Feralnex
Copy link
Contributor Author

@VaclavElias @Eideren Unfortunately after upgrading to 2.1.1 (and also to 2.1.2) it stopped working. I couldn't find what's wrong so I created an issue amerkoleci/Vortice.Vulkan#58 so that maybe the author might have an idea why it doesn't work anymore (probably some breaking changes in the API) and it's been almost 2 months already without a response. I don't have knowledge to tackle it so if somebody feels like picking it up feel free to do so. Version 1.9.8 from this PR worked without issues for me.

@Feralnex Feralnex marked this pull request as ready for review April 15, 2025 15:46
Copy link
Collaborator

@Eideren Eideren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! Left a couple of comments
Would need a quick check from @johang88 if he has time for a quick look over

@johang88
Copy link
Contributor

Thanks ! Left a couple of comments Would need a quick check from @johang88 if he has time for a quick look over

Took a quick look and not seeing any obvious issues! I'll see if I can run it with some of my test projects or maybe merge it into my compute branch if I'm feeling really adventurous.

@johang88
Copy link
Contributor

Seems to work but I get a validation error that is not present on master:

[GraphicsDevice]: Error: vkCreateShaderModule(): SPIR-V Capability Shader was declared, but one of the following requirements is required (VK_VERSION_1_0).
The Vulkan spec states: If pCode is a pointer to SPIR-V code, and pCode declares any of the capabilities listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/1.4.309.0/windows/antora/spec/latest/chapters/shaders.html#VUID-VkShaderModuleCreateInfo-pCode-08740)

@Feralnex
Copy link
Contributor Author

Seems to work but I get a validation error that is not present on master:

[GraphicsDevice]: Error: vkCreateShaderModule(): SPIR-V Capability Shader was declared, but one of the following requirements is required (VK_VERSION_1_0).
The Vulkan spec states: If pCode is a pointer to SPIR-V code, and pCode declares any of the capabilities listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/1.4.309.0/windows/antora/spec/latest/chapters/shaders.html#VUID-VkShaderModuleCreateInfo-pCode-08740)

I'll take a look in the coming days, most probably after the weekend

@Eideren Eideren marked this pull request as draft April 26, 2025 14:25
@Feralnex
Copy link
Contributor Author

Sorry for the wait, I'm pretty busy recently but I've managed to find few mins to investigate. @johang88 could You try again? Might be that in newer version we just need to specify api version upfront

@johang88
Copy link
Contributor

Sorry for the wait, I'm pretty busy recently but I've managed to find few mins to investigate. @johang88 could You try again? Might be that in newer version we just need to specify api version upfront

Seems to work as it should now!

@Eideren Eideren marked this pull request as ready for review April 27, 2025 10:06
@Eideren Eideren merged commit 8939005 into stride3d:master Apr 27, 2025
2 checks passed
@Eideren
Copy link
Collaborator

Eideren commented Apr 27, 2025

Thanks !

@Eideren Eideren changed the title [Vulkan] Updated Vortice.Vulkan package to the latest version fix: Updated Vortice.Vulkan package to the latest version Apr 27, 2025
@Feralnex
Copy link
Contributor Author

Thanks !

You're welcome! ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chore] Update Vortice.Vulkan to 1.9.9

4 participants