- Source manager (line splicing, UTF-8 BOM) and clang-style diagnostics. - Lexer producing preprocessing tokens. - Preprocessor modelled on clang's: object and function-like macros, #/##, variadics with GNU comma elision, painted recursion blocking, nested argument pre-expansion, #if/#elif expressions, #include with -I and #pragma once, #line, #error/#warning, pass-through #pragma, and dxc's predefined macros (__HLSL_VERSION, __SHADER_TARGET_*, __spirv__, ...). - dxc's compiled-in HLSL headers (<dx/linalg.h>, <vk/spirv.h>, ...) are vendored as data and used as the fallback for angled includes. - -P/-Fi/-D/-I/-HV 2021/-enable-16bit-types options; profiles now cover lib_, ms_, as_ and SM 6.0-6.11. - `zig build oracle-pp`: token-for-token comparison with dxc -P. 2060 of 2060 corpus files dxc accepts match. |
||
|---|---|---|
| .. | ||
| dx | ||
| vk | ||
| LICENSE.txt | ||
| README.txt | ||
| enable_if | ||
| type_traits | ||
| vector_utils | ||
README.txt
HLSL Standard Header Library ============================ The contents of this directory and subdirectories are the HLSL Standard Header library. These headers are open source software. You may freely distribute all or parts of these headers under the terms of the license agreement found in LICENSE.txt.