[all-commits] [llvm/llvm-project] ef7301: [HLSL] Implement Texture2D::operator[]
Steven Perron via All-commits
all-commits at lists.llvm.org
Thu Mar 12 05:49:09 PDT 2026
Branch: refs/heads/users/s-perron/texture2d-subscript-operator
Home: https://github.com/llvm/llvm-project
Commit: ef7301ca21c59b5ac588a86c6d6d7617527f5566
https://github.com/llvm/llvm-project/commit/ef7301ca21c59b5ac588a86c6d6d7617527f5566
Author: Steven Perron <stevenperron at google.com>
Date: 2026-03-12 (Thu, 12 Mar 2026)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
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-scalar-AST.hlsl
M clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
M clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl
M clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl
M clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl
M clang/test/CodeGenHLSL/resources/StructuredBuffers-subscripts.hlsl
A clang/test/CodeGenHLSL/resources/Texture2D-Subscript.hlsl
M clang/test/CodeGenHLSL/resources/TypedBuffers-methods.hlsl
M clang/test/CodeGenHLSL/resources/TypedBuffers-subscript.hlsl
M clang/test/SemaHLSL/BuiltIns/resource_getpointer-errors.hlsl
A clang/test/SemaHLSL/Resources/Texture2D-Subscript.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/test/CodeGen/DirectX/MemIntrinsics/memcpy-pointee.ll
M llvm/test/CodeGen/DirectX/forward_handle_on_alloca.ll
M llvm/test/Transforms/GVN/PRE/no-pre-load-for-token-like.ll
M llvm/test/Transforms/GVN/no-sink-dxgetpointer.ll
M llvm/test/Transforms/SimplifyCFG/DirectX/no-sink-dxgetpointer.ll
M llvm/test/Transforms/SimplifyCFG/token_like_type.ll
Log Message:
-----------
[HLSL] Implement Texture2D::operator[]
Implments the Texture2D::operator[] method. It uses the same design as
Buffer::operator[]. However, this requires us to chagne the
resource_getpointer intrinsic to accept integer vectors for the index.
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