DirectXShaderCompiler/lib
Jeff Noyle cf285db4ab
Cherry-Pick: PIX: Rationalize UAV generation (#6883) (#6897)
The impetus for these changes was unexplained crashes in a display
driver while attempting to create a debug-instrumented shader for PIX.
The heart of it is the new test in pixtest.cpp: use the compiler to
generate a raw UAV, and then compare the generated DXIL with what PIX
generates for the same purpose.
Some of the PIX passes need only one UAV for a module, but some need two
or more. In the latter case, the previous code was a bit loose about
what it was doing with respect to adding the UAV resource, and creating
its handles for each interested function. Most of the actual changes
herein are to do with that.
Lastly, the PIX UAV is raw at the D3D API level, but the instrumentation
had been doing non-raw writes. No driver seemed to care, but I've fixed
it anyway.

(cherry picked from commit bf24b7a54d)
2024-09-05 13:21:34 -07:00
..
Analysis Rename WeakVH to WeakTrackingVH; NFC (#6663) 2024-06-18 12:34:55 -07:00
AsmParser Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Bitcode Rename WeakVH to WeakTrackingVH; NFC (#6663) 2024-06-18 12:34:55 -07:00
CodeGen Rename WeakVH to WeakTrackingVH; NFC (#6663) 2024-06-18 12:34:55 -07:00
DXIL [DxilOp] Allow generation of illegal DXIL operations. (#6543) 2024-04-26 20:52:46 +00:00
DebugInfo Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
DxcBindingTable [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
DxcSupport Add option to set the max id (#6654) 2024-06-10 11:13:01 -07:00
DxilCompression [ClangCL] Fix warning for rest part except clang. (#5705) 2023-10-09 16:59:01 -04:00
DxilContainer [ClangCL] fix clang-cl build warning. (#6492) 2024-04-03 12:20:49 -07:00
DxilDia CMake: Add initial support for MinGW-w64 (#6715) 2024-06-24 15:25:14 -07:00
DxilPIXPasses Cherry-Pick: PIX: Rationalize UAV generation (#6883) (#6897) 2024-09-05 13:21:34 -07:00
DxilPdbInfo [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
DxilRootSignature Fix UBSAN error in DxilRootSignatureSerializer (#5795) 2023-09-29 10:28:05 -04:00
DxrFallback [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
ExecutionEngine Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
Fuzzer Clean up mistakes made when fixing copyright banners. 2017-01-25 14:36:50 -08:00
HLSL HLMatrixLower: allow exceptions to propagate out (#6710) 2024-06-26 11:57:18 -04:00
IR Add a new WeakVH value handle; NFC (#6703) 2024-06-21 11:55:24 -07:00
IRReader Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
LTO Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Linker Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
MC Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
MSSupport Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
Object Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Option Fallthrough (#4843) 2022-12-09 10:13:56 -08:00
PassPrinters [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
Passes Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
ProfileData [linux-port] Evade unused in LLVM code (#1327) 2018-06-05 14:07:51 -04:00
Support CMake: Add initial support for MinGW-w64 (#6715) 2024-06-24 15:25:14 -07:00
TableGen Fallthrough (#4843) 2022-12-09 10:13:56 -08:00
Target [linux-port] Fix warnings from lambda functions (#1320) 2018-05-31 13:39:26 -04:00
Transforms Fix CB vector to scalar array translation generating invalid IR (#6777) (#6800) 2024-07-22 12:24:57 -07:00
CMakeLists.txt [Linux] Enable PixTest for Linux (#5945) 2023-10-31 12:49:44 -04:00
LLVMBuild.txt Clean up and rework DXIL library depencencies (#4877) 2023-01-03 10:04:22 -06:00