Skip to content

[SPIR-V] Add support for SampleCmpLevel - #6618

Merged
Nathan Gauër (Keenuts) merged 2 commits into
microsoft:mainfrom
Keenuts:fix-6613
May 22, 2024
Merged

Nathan Gauër (Keenuts) merged 2 commits into
microsoft:mainfrom
Keenuts:fix-6613

Conversation

@Keenuts

Copy link
Copy Markdown
Collaborator

SampleCmpLevel is similar to SampleCmpLevel0, except the LOD level can be specified using either a const-offset, or a variable. This should be available starting SM6.7

Fixes #6613

SampleCmpLevel is similar to SampleCmpLevel0, except the LOD level can
be specified using either a const-offset, or a variable.
This should be available starting SM6.7

Fixes microsoft#6613

Signed-off-by: Nathan Gauër <brioche@google.com>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

Comment thread tools/clang/lib/SPIRV/SpirvEmitter.cpp
Signed-off-by: Nathan Gauër <brioche@google.com>
@Keenuts
Nathan Gauër (Keenuts) merged commit 9ad095d into microsoft:main May 22, 2024
@Keenuts
Nathan Gauër (Keenuts) deleted the fix-6613 branch May 22, 2024 08:59
Mxr (SjMxr233) pushed a commit to ShaderHelper/DirectXShaderCompiler that referenced this pull request Jul 24, 2025
SampleCmpLevel is similar to SampleCmpLevel0, except the LOD level can
be specified using either a const-offset, or a variable. This should be
available starting SM6.7

Fixes microsoft#6613

---------

Signed-off-by: Nathan Gauër <brioche@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[SPIR-V][Feature Request][SM6.7] Implement SampleCmpLevel

3 participants