[all-commits] [llvm/llvm-project] 976789: [HLSL] Implement Texture2D::Gather and Texture2D::...
Steven Perron via All-commits
all-commits at lists.llvm.org
Thu Mar 5 12:59:24 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9767894b859d877da1d8507b384fb879a51379f9
https://github.com/llvm/llvm-project/commit/9767894b859d877da1d8507b384fb879a51379f9
Author: Steven Perron <stevenperron at google.com>
Date: 2026-03-05 (Thu, 05 Mar 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
R clang/test/AST/HLSL/Texture2D-AST.hlsl
A clang/test/AST/HLSL/Texture2D-scalar-AST.hlsl
A clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-Gather.hlsl
A clang/test/SemaHLSL/Texture2D-Gather.hlsl
A clang/test/SemaHLSL/Texture2D-GatherCmp-Vulkan.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
Log Message:
-----------
[HLSL] Implement Texture2D::Gather and Texture2D::GatherCmp (#183323)
Add the Gather functions for Texture2D. Variations for all components
are added (Red, Blue, Greed, Alpha). If targeting Vulkan then the
GatherCmp* function for a component other than 0 will result in an
error, as that will lead to invalid SPIR-V.
Part of https://github.com/llvm/llvm-project/issues/175630.
Assisted by: Gemini
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