Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ jobs:
name: "WebGPU - Dawn on lavapipe (Ubuntu)"
runs-on: ubuntu-latest
env:
DAWN_REVISION: d57bbdb7c907b4d276c6d7bd6fc50115afd9dc85
DAWN_REVISION: 42d0e90fe3552a2a8e95ca8e506bc19bbda12729
CC: clang
CXX: clang++
steps:
Expand Down
5 changes: 4 additions & 1 deletion cmake/IGLDawn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
# webgpu.h matches the one WebGPUCompat.h is written against. Building it takes a while.

set(IGL_WEBGPU_DAWN_DIR "" CACHE PATH "Installed Dawn to use for IGL_WITH_WEBGPU")
set(IGL_WEBGPU_DAWN_REVISION "d57bbdb7c907b4d276c6d7bd6fc50115afd9dc85" CACHE STRING
set(IGL_WEBGPU_DAWN_REVISION "42d0e90fe3552a2a8e95ca8e506bc19bbda12729" CACHE STRING
"Dawn revision to fetch")

# The exported dawn::webgpu_dawn links Threads::Threads, but DawnConfig.cmake does not find it.
find_package(Threads REQUIRED)

if(IGL_WEBGPU_DAWN_DIR)
find_package(Dawn CONFIG REQUIRED PATHS "${IGL_WEBGPU_DAWN_DIR}" NO_DEFAULT_PATH)
else()
Expand Down
Loading