Skip to content

Commit

Permalink
always disable DAWN_ENABLE_SPIRV_VALIDATION
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed Oct 4, 2024
1 parent 130dc9b commit 646a744
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmake/external/onnxruntime_external_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,7 @@ if (onnxruntime_USE_WEBGPU)
set(TINT_BUILD_WGSL_WRITER ON CACHE BOOL "" FORCE) # needed to create cache key. runtime error if not enabled.

# SPIR-V validation shouldn't be required given we're using Tint to create the SPIR-V.
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
set(DAWN_ENABLE_SPIRV_VALIDATION OFF CACHE BOOL "" FORCE)
endif()
set(DAWN_ENABLE_SPIRV_VALIDATION OFF CACHE BOOL "" FORCE)

if (WIN32)
# building this requires the HLSL writer to be enabled in Tint. TBD if that we need either of these to be ON.
Expand Down

0 comments on commit 646a744

Please sign in to comment.