[all-commits] [llvm/llvm-project] 3f73f8: [HLSL] Implement Sample* methods for Texture2D (#1...
Steven Perron via All-commits
all-commits at lists.llvm.org
Wed Feb 11 06:12:43 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3f73f839e2044b57adfaf0ada7b7dcedc54fcc0f
https://github.com/llvm/llvm-project/commit/3f73f839e2044b57adfaf0ada7b7dcedc54fcc0f
Author: Steven Perron <stevenperron at google.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CGHLSLBuiltins.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h
M clang/lib/Sema/HLSLExternalSemaSource.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/AST/HLSL/Texture2D-AST.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-Sample.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-SampleBias.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-SampleCmp.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-SampleCmpLevelZero.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-SampleGrad.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-SampleLevel.hlsl
R clang/test/CodeGenHLSL/resources/Texture2D.sample.hlsl
A clang/test/SemaHLSL/Texture2D-SampleBias.hlsl
A clang/test/SemaHLSL/Texture2D-SampleCmp.hlsl
A clang/test/SemaHLSL/Texture2D-SampleCmpLevelZero.hlsl
A clang/test/SemaHLSL/Texture2D-SampleGrad.hlsl
A clang/test/SemaHLSL/Texture2D-SampleLevel.hlsl
Log Message:
-----------
[HLSL] Implement Sample* methods for Texture2D (#179322)
This commit implement the methods:
- SampleBias
- SampleCmp
- SampleCmpLevelZero
- SampleGrad
- SampleLevel
They are added to the Texture2D resource type. All overloads except for
those with the `status` argument.
Part of https://github.com/llvm/llvm-project/issues/175630
Assisted-by: Gemini
---------
Co-authored-by: Helena Kotas <hekotas at microsoft.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list