Skip to content

Conversation

inbelic
Copy link
Contributor

@inbelic inbelic commented Aug 20, 2025

This pr adds testing for using a StaticSampler to describe a Sampler resource.

It checks both default and specified parameters are generated correctly.

Resolves #261.

@inbelic inbelic force-pushed the inbelic/static-sampler branch from d952df4 to b132a88 Compare August 20, 2025 04:42
@inbelic inbelic marked this pull request as ready for review August 22, 2025 18:36
...
#--- end

# UNSUPPORTED: Clang
Copy link
Collaborator

Choose a reason for hiding this comment

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

XFAIL with the appropriate issue is preferred.

@inbelic inbelic force-pushed the inbelic/static-sampler branch from 00ecdc7 to 6afdd40 Compare August 28, 2025 16:10
@inbelic inbelic added the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Aug 28, 2025
@inbelic inbelic force-pushed the inbelic/static-sampler branch from ac465aa to 04ea569 Compare September 1, 2025 22:17
@inbelic inbelic removed the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Sep 2, 2025
@inbelic
Copy link
Contributor Author

inbelic commented Sep 2, 2025

From running test-all, here, it has the following behaviour:

  • CLANG: XFAILS as expected
  • WARP: Supports derivatives and passes
  • NVIDIA: Supports derivatives and passes
  • AMD: Supports derivatives and passes
  • QC: Supports derivatives and passes
  • INTEL: Does not support derivates and marked as UNSUPPORTED
  • VK: UNSUPPORTED

Copy link
Collaborator

@llvm-beanz llvm-beanz left a comment

Choose a reason for hiding this comment

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

One minor comment otherwise looks good.

@inbelic inbelic merged commit 89a9082 into llvm:main Sep 2, 2025
9 of 10 checks passed
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.

[HLSL] Add execution testing of Samplers Root Signatures
3 participants