DirectXShaderCompiler/include/dxc
Chris B fb873d0a14
Clean up debug preprocessor macros (#4305)
* Clean up debug preprocessor macros

This change removes the `DBG` macro value in favor of `NDEBUG`, and
also converts many uses of `_DEBUG` with `NDEBUG`.

_DEBUG is set by MSVC when debug information generation is enabled.
NDEBUG is set by CMake debug configurations and by LLVM on all
configurations when `LLVM_ENABLE_ASSERTIONS` is set.

Aligning with LLVM's NDEBUG usage allows a consistent pattern
throughout the codebase.

* Address PR feedback
2022-03-02 14:55:24 -06:00
..
DXIL Delete dbg.declare in scopes where the alloca is unused (#4272) 2022-02-17 16:59:44 -08:00
DxcBindingTable Added binding table file to specify resource binding (#3843) 2021-08-26 11:56:36 -07:00
DxilContainer Clean up debug preprocessor macros (#4305) 2022-03-02 14:55:24 -06:00
DxilPIXPasses PIX: Add thread ID to amplification shader payload (#3904) 2021-08-13 14:04:46 -07:00
DxilRootSignature Add -dumprs to dxa. (#3703) 2021-04-21 15:31:44 -07:00
DxrFallback Rename 'module' to 'hModule' for C++20 compat (#2667) 2020-03-01 18:12:31 -08:00
HLSL Clean up debug preprocessor macros (#4305) 2022-03-02 14:55:24 -06:00
Support Clean up debug preprocessor macros (#4305) 2022-03-02 14:55:24 -06:00
Test Implement Shader Model 6.7 (#4260) 2022-02-15 11:38:42 -08:00
Tracing Fix vs2019 build warnings for custom build items (#3114) 2020-09-04 16:21:53 -07:00
CMakeLists.txt Implement Shader Model 6.7 (#4260) 2022-02-15 11:38:42 -08:00
HlslIntrinsicOp.h Implement Shader Model 6.7 (#4260) 2022-02-15 11:38:42 -08:00
dxcapi.h Rename UTF16 to Wide (#4242) 2022-02-14 15:24:40 -05:00
dxcapi.internal.h Add option to override semantic defines (#3766) 2021-05-11 21:43:15 -07:00
dxcdxrfallbackcompiler.h Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
dxcerrors.h Add load library error to dxc exception handler; add header with exception error codes (#3639) 2021-03-26 23:37:41 -07:00
dxcisense.h [linux-port] Support full IID comparison on GCC (#3062) 2020-11-20 15:18:05 -08:00
dxcpix.h impl (#3200) 2020-10-13 17:09:09 -07:00
dxctools.h [linux-port] Support full IID comparison on GCC (#3062) 2020-11-20 15:18:05 -08:00