Skip to content

[SPIR-V] Support vk::SampledTexture2D in offload test suite.#748

Merged
luciechoi merged 11 commits intollvm:mainfrom
luciechoi:sampledtexture
Apr 3, 2026
Merged

[SPIR-V] Support vk::SampledTexture2D in offload test suite.#748
luciechoi merged 11 commits intollvm:mainfrom
luciechoi:sampledtexture

Conversation

@luciechoi
Copy link
Copy Markdown
Contributor

@luciechoi luciechoi commented Feb 17, 2026

  • Support SampledTexture2D resource type.
  • Add test for .Sample() for vk::SampledTexture2D.
  • Made SamplerComparison a Sampler type not a pipeline resource type.

The test is exactly the same as Texture2D.Sample.test.yaml.

Part of microsoft/DirectXShaderCompiler#7979

@luciechoi luciechoi requested a review from Keenuts March 2, 2026 20:25
Copy link
Copy Markdown
Contributor

@s-perron s-perron left a comment

Choose a reason for hiding this comment

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

I have a few questions, without strong opinions. Let me know what you think

@luciechoi luciechoi requested a review from s-perron March 30, 2026 07:47
Copy link
Copy Markdown
Contributor

@s-perron s-perron left a comment

Choose a reason for hiding this comment

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

This looks pretty good. Just a couple things:

  1. Why move the SamplerComparision kind to the Sampler? I don't have a strong feeling either way, but I'd like to reduce churn if possible. If there is a good reason, we can do it.
  2. Document how the sampled textured work in https://github.com/llvm/offload-test-suite/tree/main/docs.

@luciechoi luciechoi requested a review from s-perron March 31, 2026 02:51
@luciechoi luciechoi merged commit 9777002 into llvm:main Apr 3, 2026
9 of 12 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.

4 participants