commit | 149dbd965e1acc4d419fe205644e38357a76ef62 | [log] [tgz] |
---|---|---|
author | Arthur Sonzogni <arthursonzogni@chromium.org> | Tue May 07 15:49:20 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 07 15:49:20 2024 +0000 |
tree | 5d6e37c669be19c83fac20075c79325b5dcc0393 | |
parent | c751aed61791eeb40d7fe7269e522658ece91875 [diff] |
Add missing header declaration to GN/CMake In GN/CMake, declare all the header that were forgotten. I used a script to know about them all. Context: ======== https://dawn-review.googlesource.com/c/dawn/+/186440/comment/754dafd0_700f2bf4/ Script output ============= # File not declared in CMake: BindingPoint.h NonMovable.h StackAllocated.h WGSLFeatureMapping.h # File not declared in GN: BindingPoint.h StackAllocated.h WGSLFeatureMapping.h Script: ======= export LC_ALL=C cd src/dawn ( find . -name "*.h"; find . -name "*.cpp" ) \ | grep -v "node" \ | grep -iv test \ | grep -iv mock \ | grep -iv lpm \ | grep -iv raw_ \ | grep -iv fuzzer \ | grep -iv raw_ \ | grep -iv zircon \ | xargs -L1 basename \ | sort \ | uniq \ > file_list find . -name "CMakeLists.txt"\ | xargs cat {} \ | sed -nr 's/.*("|\/)([a-zA-Z_1-9]*\.(h|cpp))".*/\2/p' \ | sed 's/ *//g' \ | sed 's/,//g' \ | sort \ | uniq \ > file_list_cmake find . -name "*.gn" \ | xargs cat {} \ | sed -nr 's/.*("|\/)([a-zA-Z_1-9]*\.(h|cpp))".*/\2/p' \ | sed 's/ *//g' \ | sed 's/,//g' \ | sort \ | uniq \ > file_list_gn echo "# File not declared in CMake:" comm -23 file_list file_list_cmake echo "" echo "# File not declared in GN:" comm -23 file_list file_list_gn Bug: None Change-Id: I4bf9e676092bdb1ce08e1a8df8b03c8ad24f4537 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/186900 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.