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

Implement sparse texture Sample* intrinsics for SPIRV #6377

Merged

Conversation

fairywreath
Copy link
Contributor

@fairywreath fairywreath commented Feb 18, 2025

Related to #4495.

Adds SPIRV support for sparse texture Sample* intrinsics or Sample* with status intrinsics. They are implemented through the SparseResidency capability.

Load and Gather intrinsic variants are still not implemented for SPIRV and will be addressed in separate PRs.

@fairywreath fairywreath requested a review from a team as a code owner February 18, 2025 01:55
csyonghe
csyonghe previously approved these changes Feb 19, 2025
Copy link
Collaborator

@csyonghe csyonghe left a comment

Choose a reason for hiding this comment

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

Looks good!

@csyonghe csyonghe added the pr: non-breaking PRs without breaking changes label Feb 26, 2025
@csyonghe
Copy link
Collaborator

tests/hlsl-intrinsic/texture/partial-resident-texture.slang test failed.

@fairywreath
Copy link
Contributor Author

There seems to be a problem with slang-test when running DX12 compute functional tests with sampler2D - I tested this on a Windows machine with an AMD gpu. The test just fails with error code 1 - is this expected?

I have separate the original test into two, one for regular textures and the other for combined texture+sampler resources. Can you run them to confirm that this is also happening in the CI?

@csyonghe
Copy link
Collaborator

need to resolve the conflicts here.

@csyonghe csyonghe merged commit 700c38a into shader-slang:master Mar 1, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants