[all-commits] [llvm/llvm-project] 66eabe: [HLSL] Add RWBuffer default constructor
Chris B via All-commits
all-commits at lists.llvm.org
Thu Jul 28 12:08:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66eabeb65dc9dc53fa791e444fa228a406bd304e
https://github.com/llvm/llvm-project/commit/66eabeb65dc9dc53fa791e444fa228a406bd304e
Author: Chris Bieneman <chris.bieneman at me.com>
Date: 2022-07-28 (Thu, 28 Jul 2022)
Changed paths:
A clang/include/clang/Basic/HLSLRuntime.h
M clang/lib/Sema/HLSLExternalSemaSource.cpp
M clang/test/AST/HLSL/RWBuffer-AST.hlsl
A clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
Log Message:
-----------
[HLSL] Add RWBuffer default constructor
This fills out the default constructor for RWBuffer to assign the
handle with the result of __builtin_hlsl_create_handle which we can
then treat as a pointer to the resource data through the mid-level of
the compiler.
Depends on D130016
Differential Revision: https://reviews.llvm.org/D130017
More information about the All-commits
mailing list