Skip to content

Conversation

@s-perron
Copy link
Contributor

This commit introduces the ability to create and test sparse resources
in the Vulkan backend.

Key changes:

  • Vulkan Backend: Updated the Vulkan implementation to support sparse
    binding and residency for buffers.
  • Test Infrastructure: Enhanced test/lit.cfg.py to automatically
    detect and expose all boolean Vulkan features from api-query as lit
    features. This enables tests to use REQUIRE for specific hardware
    capabilities like sparseBinding and sparseResidencyBuffer.
  • New Tests: Added a suite of feature tests in test/Feature/Sparse/
    to verify sparse resource behavior across different buffer types,
    including residency checks and partially mapped resource loads.

This provides the necessary framework to validate sparse resource
handling and residency behavior in HLSL-to-Vulkan pipelines.

@s-perron s-perron requested review from Keenuts and luciechoi and removed request for Keenuts and luciechoi January 28, 2026 20:24
@s-perron s-perron force-pushed the partially_mapped_resources_ots_i514 branch 3 times, most recently from f1bf932 to 8fdb37f Compare January 29, 2026 20:24
This commit introduces the ability to create and test sparse resources
in the Vulkan backend.

Key changes:
- **Vulkan Backend**: Updated the Vulkan implementation to support sparse
  binding and residency for buffers.
- **Test Infrastructure**: Enhanced test/lit.cfg.py to automatically
  detect and expose all boolean Vulkan features from api-query as lit
  features. This enables tests to use REQUIRE for specific hardware
  capabilities like sparseBinding and sparseResidencyBuffer.
- **New Tests**: Added a suite of feature tests in test/Feature/Sparse/
  to verify sparse resource behavior across different buffer types,
  including residency checks and partially mapped resource loads.

This provides the necessary framework to validate sparse resource
handling and residency behavior in HLSL-to-Vulkan pipelines.
@s-perron s-perron force-pushed the partially_mapped_resources_ots_i514 branch from 8fdb37f to 3024d64 Compare January 29, 2026 20:28
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