Skip to content

Fix build issues with Vulkan SDK 1.3.301+#7013

Merged
Goober5000 merged 1 commit into
scp-fs2open:masterfrom
vmedea:vulkan-build-fixes
Sep 4, 2025
Merged

Fix build issues with Vulkan SDK 1.3.301+#7013
Goober5000 merged 1 commit into
scp-fs2open:masterfrom
vmedea:vulkan-build-fixes

Conversation

@vmedea

@vmedea vmedea commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

This fixes two build issues:

Guard them with version checks, so that compiling with older verions of the Vulkan-Hpp headers keeps working.

Closes #6416.

This fixes two build issues:

- `vk::PFN_DebugReportCallbackEXT` takes `vk::DebugReport*EXT` not C
  type `VkDebugReport*EXT` since version 1.3.304.
  (KhronosGroup/Vulkan-Hpp@d5a18dc)
- `vk::ObjectDestroy` was moved to namespace `vk::detail` in version
  1.3.301.
  (KhronosGroup/Vulkan-Hpp@6e5489f)

Guard them with version checks, so that compiling with older verions
of Vulkan keeps working.

Closes #6416.

@Goober5000 Goober5000 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work!

@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. vulkan Issues and Features related to the vulkan render backend build An issue related to the build systems graphics A feature or issue related to graphics (2d and 3d) labels Sep 4, 2025
@Goober5000 Goober5000 merged commit 0d0574d into scp-fs2open:master Sep 4, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build An issue related to the build systems fix A fix for bugs, not-a-bugs, and/or regressions. graphics A feature or issue related to graphics (2d and 3d) vulkan Issues and Features related to the vulkan render backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[24.2.0] fails to build with vulkan 1.3.301

2 participants