Skip to content
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

Add Vulkan 1.3 and 1.4 capability checks #6063

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alan-baker
Copy link
Contributor

Fixes #6050

@alan-baker alan-baker requested review from dneto0 and s-perron March 24, 2025 18:17
@alan-baker
Copy link
Contributor Author

alan-baker commented Mar 25, 2025

smoketest failure is:

Glsl/CompileVulkanToSpirvTestNoLink.FromFile/spv_exportFunctions_comp

That test includes the Linkage capability.

case spv::Capability::StorageTexelBufferArrayDynamicIndexing:
case spv::Capability::Int8:
case spv::Capability::StorageBuffer8BitAccess:
case spv::Capability::FloatControls2:
Copy link
Collaborator

Choose a reason for hiding this comment

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

From https://docs.vulkan.org/spec/latest/chapters/features.html#:~:text=If%20Vulkan%201.4%20is%20supported%2C%20the%20following%20features%20must%20be%20supported I also get:

  • ExpectAssumeKHR
  • SampleRateShading
  • StorageImageExtendedFormats
  • ImageGatherExtentded
  • StorageBuffer16BitAccess

Copy link
Contributor Author

Choose a reason for hiding this comment

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

1.4 didn't have a new SPIR-V version so I skipped any capabilities that require an extension anyways (so ExpectAssumeKHR).

16-bit storage is further up the list. The other three I'll add.

@alan-baker alan-baker requested a review from dneto0 March 31, 2025 19:21
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.

[VAL] Vulkan 1.3 capabilities are not checked
3 participants