Revision a3baa5de2b1064fa2930b94d9a49b11676457cbb authored by James Price on 09 February 2024, 18:39:21 UTC, committed by GitHub on 09 February 2024, 18:39:21 UTC
* [WebGPU] Update to latest native headers

* Remove #ifdef for `requiredFeature[s]Count`

* Pass nullptr to wgpuCreateInstance
  * Emscripten currently requires this
  * Dawn accepts it too

* Use nullptr for another wgpuCreateInstance call
1 parent de8e39d
Raw File
CheckFilesExist.cmake
function(check_files_exist FAILED)
    set(${FAILED} FALSE PARENT_SCOPE)
    foreach (F IN LISTS ARGN)
        if (NOT EXISTS ${F})
            message(STATUS "File not found: ${F}")
            set(${FAILED} TRUE PARENT_SCOPE)
        endif ()
    endforeach ()
endfunction()

if (CMAKE_SCRIPT_MODE_FILE)
    check_files_exist(FAILED ${FILES_TO_CHECK})
    if (FAILED)
        message(FATAL_ERROR "One or more files weren't found")
    endif ()
endif ()
back to top