Skip to content

Commit e3cd337

Browse files
committed
Make hlsl::IntrinsicOp enum values stable
This change makes hlsl::IntrinsicOp enum values stable by: - adding hlsl_intrinsic_opcodes.json to capture assigned indices - adds this to the files generated by hctgen - generation assigns new indices after the last index - hlsl::IntrinsicOp enum values have explicit assignments Fixes microsoft#7230
1 parent ec5324d commit e3cd337

File tree

8 files changed

+795
-389
lines changed

8 files changed

+795
-389
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,8 @@ add_subdirectory(include/dxc)
686686
# really depend on anything else in the build it is safe.
687687
list(APPEND LLVM_COMMON_DEPENDS HCTGen)
688688

689+
add_subdirectory(utils/hct)
690+
689691
if(EXISTS "${LLVM_MAIN_SRC_DIR}/external")
690692
add_subdirectory(external) # SPIRV change
691693
endif()

0 commit comments

Comments
 (0)