Skip to content

Fix vulkan build and enable it for Linux CI (retry of #6709)#6719

Closed
vmedea wants to merge 3 commits into
scp-fs2open:masterfrom
vmedea:fix-vulkan-build-backup
Closed

Fix vulkan build and enable it for Linux CI (retry of #6709)#6719
vmedea wants to merge 3 commits into
scp-fs2open:masterfrom
vmedea:fix-vulkan-build-backup

Conversation

@vmedea

@vmedea vmedea commented May 13, 2025

Copy link
Copy Markdown
Contributor

Trying if opening a new PR gets rid of the phantom linux builds...
(see #6709)

vmedea added 3 commits May 13, 2025 07:20
In 133b033, SCP_vector was made into a
subclass, so direct assignment from the vulkan-hpp result isn't possible
anymore. Use an intermediate vector.
Because these functions can return statuses that aren't strictly an
error (and thus don't raise an exception), but might have to be handled,
they return a `vk::Result` that's `[[nodiscard]]`. Ideally some of the
result statuses would be handled here, but to get it to compile, cast
the result to void.
Change to the new image that has the Vulkan headers, and enable
building with Vulkan by default in the cmake options.
@vmedea

vmedea commented May 13, 2025

Copy link
Copy Markdown
Contributor Author

No, they're here as well.

@vmedea vmedea closed this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant