DirectXShaderCompiler/tools/clang/unittests
Jeff Noyle fd7e54bcd5
Pix: Cope with group shared AS->MS payload (#6619)
This change copes with the AS->MS payload being placed in group-shared
by the application (and MSFT's samples do indeed do this). (TIL, thanks
to pow2clk, that the spec says that the payload counts against the
group-shared total, implying, if not explicitly stating, that at least
on some platforms, the payload will be in group-shared anyway.)

The MS pass needs to be given data from the AS about the AS's thread
group topology, and this is done by extending the payload struct to add
three uints. This can't be done when the payload is resident in
group-shared, of course, because that would change the layout of
group-shared memory.
So the new approach here is to copy the payload to a new alloca (in the
default address space) struct with the members of the base struct plus
the extended data the MS needs, and then to copy piece-wise because
llvm.memcpy isn't appropriate for group-shared-to-normal address space
copies.
2024-05-15 14:49:22 -07:00
..
AST
ASTMatchers
Basic
CodeGen Make it possible to enable building LLVM & Clang unit tests (#4020) 2021-10-20 12:32:45 -05:00
Driver
DxrFallback [ClangCL] fix warning in clang tools (#5706) 2023-10-04 12:12:29 -04:00
Format
Frontend
HLSL Pix: Cope with group shared AS->MS payload (#6619) 2024-05-15 14:49:22 -07:00
HLSLErrors [ClangCL] fix warning for clang unit test. (#5708) 2023-10-02 13:30:22 -04:00
HLSLExec Remove all WARP skips (#6602) 2024-05-08 21:45:11 +00:00
HLSLHost [ClangCL] fix warning for clang unit test. (#5708) 2023-10-02 13:30:22 -04:00
HLSLTestLib Fix auto-dxilver logic in FileCheckerTest (#6368) 2024-04-25 09:51:51 -07:00
Lex Make it possible to enable building LLVM & Clang unit tests (#4020) 2021-10-20 12:32:45 -05:00
Rewrite
SPIRV [SPIRV] Always provide original source to debug (#6085) 2024-02-02 10:19:49 -05:00
Sema
StaticAnalyzer
Tooling
dxc_batch [ClangCL] fix warning for clang unit test. (#5708) 2023-10-02 13:30:22 -04:00
libclang
CMakeLists.txt Refactor ExecutionTests into a separate dll (#4905) 2022-12-29 23:53:21 +00:00