mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-08 14:15:58 +00:00
tint->dawn: Move src/utils -> src/dawn/utils
Also remove stuttering from the target names by dropping the 'dawn_' prefix. Bug: dawn:1275 Change-Id: I3263f1236f71bf23795b4b12670ad3535822a537 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/79062 Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
d9ab69a9c1
commit
1e657a6328
@ -218,11 +218,11 @@ add_subdirectory(src/dawn_platform)
|
|||||||
add_subdirectory(src/dawn_native)
|
add_subdirectory(src/dawn_native)
|
||||||
add_subdirectory(src/dawn_wire)
|
add_subdirectory(src/dawn_wire)
|
||||||
# TODO(dawn:269): Remove once the implementation-based swapchains are removed.
|
# TODO(dawn:269): Remove once the implementation-based swapchains are removed.
|
||||||
add_subdirectory(src/utils)
|
add_subdirectory(src/dawn/utils)
|
||||||
|
|
||||||
if (DAWN_BUILD_EXAMPLES)
|
if (DAWN_BUILD_EXAMPLES)
|
||||||
#TODO(dawn:269): Add this once implementation-based swapchains are removed.
|
#TODO(dawn:269): Add this once implementation-based swapchains are removed.
|
||||||
#add_subdirectory(src/utils)
|
#add_subdirectory(src/dawn/utils)
|
||||||
add_subdirectory(examples)
|
add_subdirectory(examples)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ This repository contains the implementation of Dawn, which is itself composed of
|
|||||||
- [`src`](../src):
|
- [`src`](../src):
|
||||||
- [`dawn`](../src/dawn): root directory for Dawn code
|
- [`dawn`](../src/dawn): root directory for Dawn code
|
||||||
- [`common`](../src/dawn/common): helper code that is allowed to be used by Dawn's core libraries, `dawn_native` and `dawn_wire`. Also allowed for use in all other Dawn targets.
|
- [`common`](../src/dawn/common): helper code that is allowed to be used by Dawn's core libraries, `dawn_native` and `dawn_wire`. Also allowed for use in all other Dawn targets.
|
||||||
|
- [`utils`](../src/dawn/utils): helper code to use Dawn used by tests and samples but disallowed for `dawn_native` and `dawn_wire`.
|
||||||
- [`dawn_native`](../src/dawn_native): code for the implementation of WebGPU on top of graphics APIs. Files in this folder are the "frontend" while subdirectories are "backends".
|
- [`dawn_native`](../src/dawn_native): code for the implementation of WebGPU on top of graphics APIs. Files in this folder are the "frontend" while subdirectories are "backends".
|
||||||
- `<backend>`: code for the implementation of the backend on a specific graphics API, for example `d3d12`, `metal` or `vulkan`.
|
- `<backend>`: code for the implementation of the backend on a specific graphics API, for example `d3d12`, `metal` or `vulkan`.
|
||||||
- [`dawn_platform`](../src/dawn_platform): definition of interfaces for dependency injection in `dawn_native` or `dawn_wire`.
|
- [`dawn_platform`](../src/dawn_platform): definition of interfaces for dependency injection in `dawn_native` or `dawn_wire`.
|
||||||
@ -27,7 +28,6 @@ This repository contains the implementation of Dawn, which is itself composed of
|
|||||||
- [`unittests`](../src/tests/unittests): code unittests of internal classes, but also by extension WebGPU API tests that don't require a GPU to run.
|
- [`unittests`](../src/tests/unittests): code unittests of internal classes, but also by extension WebGPU API tests that don't require a GPU to run.
|
||||||
- [`validation`](../src/tests/unittests/validation): WebGPU validation tests not using the GPU (frontend tests)
|
- [`validation`](../src/tests/unittests/validation): WebGPU validation tests not using the GPU (frontend tests)
|
||||||
- [`white_box`](../src/tests/white_box): tests using the GPU that need to access the internals of `dawn_native` or `dawn_wire`.
|
- [`white_box`](../src/tests/white_box): tests using the GPU that need to access the internals of `dawn_native` or `dawn_wire`.
|
||||||
- [`utils`](../src/utils): helper code to use Dawn used by tests and samples but disallowed for `dawn_native` and `dawn_wire`.
|
|
||||||
- [`third_party`](../third_party): directory where dependencies live as well as their buildfiles.
|
- [`third_party`](../third_party): directory where dependencies live as well as their buildfiles.
|
||||||
|
|
||||||
## Dawn Native (`dawn_native`)
|
## Dawn Native (`dawn_native`)
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "dawn/utils/SystemUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
@ -36,11 +36,11 @@ static_library("dawn_sample_utils") {
|
|||||||
"${dawn_root}/src/dawn:dawn_proc",
|
"${dawn_root}/src/dawn:dawn_proc",
|
||||||
"${dawn_root}/src/dawn:dawncpp",
|
"${dawn_root}/src/dawn:dawncpp",
|
||||||
"${dawn_root}/src/dawn/common",
|
"${dawn_root}/src/dawn/common",
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
|
"${dawn_root}/src/dawn/utils:bindings",
|
||||||
|
"${dawn_root}/src/dawn/utils:glfw",
|
||||||
"${dawn_root}/src/dawn_native",
|
"${dawn_root}/src/dawn_native",
|
||||||
"${dawn_root}/src/dawn_wire",
|
"${dawn_root}/src/dawn_wire",
|
||||||
"${dawn_root}/src/utils:dawn_bindings",
|
|
||||||
"${dawn_root}/src/utils:dawn_glfw",
|
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
public_configs = [ "${dawn_root}/src/dawn/common:internal_config" ]
|
public_configs = [ "${dawn_root}/src/dawn/common:internal_config" ]
|
||||||
}
|
}
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "dawn/utils/SystemUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
WGPUDevice device;
|
WGPUDevice device;
|
||||||
WGPUQueue queue;
|
WGPUQueue queue;
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "dawn/utils/SystemUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "dawn/utils/SystemUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -53,10 +53,10 @@
|
|||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Log.h"
|
#include "dawn/common/Log.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/GLFWUtils.h"
|
#include "dawn/utils/GLFWUtils.h"
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <dawn/dawn_proc.h>
|
#include <dawn/dawn_proc.h>
|
||||||
#include <dawn/webgpu_cpp.h>
|
#include <dawn/webgpu_cpp.h>
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
#include "dawn/common/Log.h"
|
#include "dawn/common/Log.h"
|
||||||
#include "dawn/common/Platform.h"
|
#include "dawn/common/Platform.h"
|
||||||
#include "dawn/common/SystemUtils.h"
|
#include "dawn/common/SystemUtils.h"
|
||||||
#include "utils/BackendBinding.h"
|
#include "dawn/utils/BackendBinding.h"
|
||||||
#include "utils/GLFWUtils.h"
|
#include "dawn/utils/GLFWUtils.h"
|
||||||
#include "utils/TerribleCommandBuffer.h"
|
#include "dawn/utils/TerribleCommandBuffer.h"
|
||||||
|
|
||||||
#include <dawn/dawn_proc.h>
|
#include <dawn/dawn_proc.h>
|
||||||
#include <dawn/dawn_wsi.h>
|
#include <dawn/dawn_wsi.h>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("../../scripts/dawn_overrides_with_defaults.gni")
|
import("../../../scripts/dawn_overrides_with_defaults.gni")
|
||||||
|
|
||||||
import("${dawn_root}/scripts/dawn_features.gni")
|
import("${dawn_root}/scripts/dawn_features.gni")
|
||||||
|
|
||||||
@ -24,12 +24,12 @@ import("${dawn_root}/scripts/dawn_features.gni")
|
|||||||
# library that can be linked into the Dawn tests on these platforms. Otherwise,
|
# library that can be linked into the Dawn tests on these platforms. Otherwise,
|
||||||
# use the real library from third_party/.
|
# use the real library from third_party/.
|
||||||
if (dawn_supports_glfw_for_windowing) {
|
if (dawn_supports_glfw_for_windowing) {
|
||||||
group("dawn_glfw") {
|
group("glfw") {
|
||||||
public_deps = [ "${dawn_root}/third_party/gn/glfw" ]
|
public_deps = [ "${dawn_root}/third_party/gn/glfw" ]
|
||||||
}
|
}
|
||||||
} else if (is_fuchsia) {
|
} else if (is_fuchsia) {
|
||||||
# The mock implementation of GLFW on Fuchsia
|
# The mock implementation of GLFW on Fuchsia
|
||||||
config("dawn_glfw_public_config") {
|
config("glfw_public_config") {
|
||||||
# Allow inclusion of <GLFW/glfw3.h>
|
# Allow inclusion of <GLFW/glfw3.h>
|
||||||
include_dirs = [ "${dawn_glfw_dir}/include" ]
|
include_dirs = [ "${dawn_glfw_dir}/include" ]
|
||||||
|
|
||||||
@ -43,18 +43,18 @@ if (dawn_supports_glfw_for_windowing) {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
static_library("dawn_glfw") {
|
static_library("glfw") {
|
||||||
sources = [
|
sources = [
|
||||||
# NOTE: The header below is required to pass "gn check".
|
# NOTE: The header below is required to pass "gn check".
|
||||||
"${dawn_glfw_dir}/include/GLFW/glfw3.h",
|
"${dawn_glfw_dir}/include/GLFW/glfw3.h",
|
||||||
"Glfw3Fuchsia.cpp",
|
"Glfw3Fuchsia.cpp",
|
||||||
]
|
]
|
||||||
public_configs = [ ":dawn_glfw_public_config" ]
|
public_configs = [ ":glfw_public_config" ]
|
||||||
deps = [ "${dawn_root}/src/dawn/common" ]
|
deps = [ "${dawn_root}/src/dawn/common" ]
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
# Just skip GLFW on other systems
|
# Just skip GLFW on other systems
|
||||||
group("dawn_glfw") {
|
group("glfw") {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ if (dawn_supports_glfw_for_windowing) {
|
|||||||
# Utils for tests and samples
|
# Utils for tests and samples
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
static_library("dawn_utils") {
|
static_library("utils") {
|
||||||
configs += [ "${dawn_root}/src/dawn/common:internal_config" ]
|
configs += [ "${dawn_root}/src/dawn/common:internal_config" ]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -126,7 +126,7 @@ static_library("dawn_utils") {
|
|||||||
"GLFWUtils.cpp",
|
"GLFWUtils.cpp",
|
||||||
"GLFWUtils.h",
|
"GLFWUtils.h",
|
||||||
]
|
]
|
||||||
deps += [ ":dawn_glfw" ]
|
deps += [ ":glfw" ]
|
||||||
|
|
||||||
if (dawn_enable_metal) {
|
if (dawn_enable_metal) {
|
||||||
sources += [ "GLFWUtils_metal.mm" ]
|
sources += [ "GLFWUtils_metal.mm" ]
|
||||||
@ -143,7 +143,7 @@ static_library("dawn_utils") {
|
|||||||
|
|
||||||
if (dawn_standalone) {
|
if (dawn_standalone) {
|
||||||
# Library to handle the interaction of Dawn with GLFW windows in samples
|
# Library to handle the interaction of Dawn with GLFW windows in samples
|
||||||
static_library("dawn_bindings") {
|
static_library("bindings") {
|
||||||
configs += [ "${dawn_root}/src/dawn/common:internal_config" ]
|
configs += [ "${dawn_root}/src/dawn/common:internal_config" ]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -154,7 +154,7 @@ if (dawn_standalone) {
|
|||||||
public_deps = [ "${dawn_root}/src/dawn:dawn_headers" ]
|
public_deps = [ "${dawn_root}/src/dawn:dawn_headers" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":dawn_glfw",
|
":glfw",
|
||||||
"${dawn_root}/src/dawn/common",
|
"${dawn_root}/src/dawn/common",
|
||||||
"${dawn_root}/src/dawn_native",
|
"${dawn_root}/src/dawn_native",
|
||||||
]
|
]
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/BackendBinding.h"
|
#include "dawn/utils/BackendBinding.h"
|
||||||
|
|
||||||
#include "dawn/common/Compiler.h"
|
#include "dawn/common/Compiler.h"
|
||||||
|
|
@ -12,9 +12,9 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/ComboRenderBundleEncoderDescriptor.h"
|
#include "dawn/utils/ComboRenderBundleEncoderDescriptor.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
|
|
@ -12,9 +12,9 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/BackendBinding.h"
|
#include "dawn/utils/BackendBinding.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn_native/D3D12Backend.h"
|
#include "dawn_native/D3D12Backend.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/PlatformDebugLogger.h"
|
#include "dawn/utils/PlatformDebugLogger.h"
|
||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/GLFWUtils.h"
|
#include "dawn/utils/GLFWUtils.h"
|
||||||
|
|
||||||
#include "GLFW/glfw3.h"
|
#include "GLFW/glfw3.h"
|
||||||
#include "dawn/common/Platform.h"
|
#include "dawn/common/Platform.h"
|
@ -16,7 +16,7 @@
|
|||||||
# error "GLFWUtils_metal.mm requires the Metal backend to be enabled."
|
# error "GLFWUtils_metal.mm requires the Metal backend to be enabled."
|
||||||
#endif // !defined(DAWN_ENABLE_BACKEND_METAL)
|
#endif // !defined(DAWN_ENABLE_BACKEND_METAL)
|
||||||
|
|
||||||
#include "utils/GLFWUtils.h"
|
#include "dawn/utils/GLFWUtils.h"
|
||||||
|
|
||||||
#import <QuartzCore/CAMetalLayer.h>
|
#import <QuartzCore/CAMetalLayer.h>
|
||||||
#include "GLFW/glfw3.h"
|
#include "GLFW/glfw3.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/BackendBinding.h"
|
#include "dawn/utils/BackendBinding.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/SwapChainUtils.h"
|
#include "dawn/common/SwapChainUtils.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/BackendBinding.h"
|
#include "dawn/utils/BackendBinding.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn_native/NullBackend.h"
|
#include "dawn_native/NullBackend.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/Timer.h"
|
#include "dawn/utils/Timer.h"
|
||||||
|
|
||||||
#include <CoreServices/CoreServices.h>
|
#include <CoreServices/CoreServices.h>
|
||||||
#include <mach/mach.h>
|
#include <mach/mach.h>
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/ObjCUtils.h"
|
#include "dawn/utils/ObjCUtils.h"
|
||||||
|
|
||||||
#include <QuartzCore/CALayer.h>
|
#include <QuartzCore/CALayer.h>
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/BackendBinding.h"
|
#include "dawn/utils/BackendBinding.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Platform.h"
|
#include "dawn/common/Platform.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/Timer.h"
|
#include "dawn/utils/Timer.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
|
|
||||||
#include "dawn/common/Compiler.h"
|
#include "dawn/common/Compiler.h"
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/TerribleCommandBuffer.h"
|
#include "dawn/utils/TerribleCommandBuffer.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
|
|
@ -12,13 +12,13 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/TestUtils.h"
|
#include "dawn/utils/TestUtils.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/TextureUtils.h"
|
#include "dawn/utils/TextureUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/BackendBinding.h"
|
#include "dawn/utils/BackendBinding.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn_native/VulkanBackend.h"
|
#include "dawn_native/VulkanBackend.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Log.h"
|
#include "dawn/common/Log.h"
|
@ -22,7 +22,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "utils/TextureUtils.h"
|
#include "dawn/utils/TextureUtils.h"
|
||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/PlatformDebugLogger.h"
|
#include "dawn/utils/PlatformDebugLogger.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/windows_with_undefs.h"
|
#include "dawn/common/windows_with_undefs.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/Timer.h"
|
#include "dawn/utils/Timer.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
@ -12,16 +12,16 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/WireHelper.h"
|
#include "dawn/utils/WireHelper.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Log.h"
|
#include "dawn/common/Log.h"
|
||||||
#include "dawn/common/SystemUtils.h"
|
#include "dawn/common/SystemUtils.h"
|
||||||
#include "dawn/dawn_proc.h"
|
#include "dawn/dawn_proc.h"
|
||||||
|
#include "dawn/utils/TerribleCommandBuffer.h"
|
||||||
#include "dawn_native/DawnNative.h"
|
#include "dawn_native/DawnNative.h"
|
||||||
#include "dawn_wire/WireClient.h"
|
#include "dawn_wire/WireClient.h"
|
||||||
#include "dawn_wire/WireServer.h"
|
#include "dawn_wire/WireServer.h"
|
||||||
#include "utils/TerribleCommandBuffer.h"
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstring>
|
#include <cstring>
|
@ -18,9 +18,9 @@
|
|||||||
#include "dawn_native/ComputePipeline.h"
|
#include "dawn_native/ComputePipeline.h"
|
||||||
#include "dawn_native/Device.h"
|
#include "dawn_native/Device.h"
|
||||||
#include "dawn_native/RenderPipeline.h"
|
#include "dawn_native/RenderPipeline.h"
|
||||||
|
#include "dawn_native/utils/WGPUHelpers.h"
|
||||||
#include "dawn_platform/DawnPlatform.h"
|
#include "dawn_platform/DawnPlatform.h"
|
||||||
#include "dawn_platform/tracing/TraceEvent.h"
|
#include "dawn_platform/tracing/TraceEvent.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
namespace dawn::native {
|
namespace dawn::native {
|
||||||
|
|
||||||
|
@ -44,9 +44,9 @@
|
|||||||
#include "dawn_native/SwapChain.h"
|
#include "dawn_native/SwapChain.h"
|
||||||
#include "dawn_native/Texture.h"
|
#include "dawn_native/Texture.h"
|
||||||
#include "dawn_native/ValidationUtils_autogen.h"
|
#include "dawn_native/ValidationUtils_autogen.h"
|
||||||
|
#include "dawn_native/utils/WGPUHelpers.h"
|
||||||
#include "dawn_platform/DawnPlatform.h"
|
#include "dawn_platform/DawnPlatform.h"
|
||||||
#include "dawn_platform/tracing/TraceEvent.h"
|
#include "dawn_platform/tracing/TraceEvent.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -78,9 +78,9 @@ static_library("dawn_wire_server_fuzzer_common") {
|
|||||||
"${dawn_root}/src/dawn:dawn_proc",
|
"${dawn_root}/src/dawn:dawn_proc",
|
||||||
"${dawn_root}/src/dawn:dawncpp",
|
"${dawn_root}/src/dawn:dawncpp",
|
||||||
"${dawn_root}/src/dawn/common",
|
"${dawn_root}/src/dawn/common",
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_static",
|
"${dawn_root}/src/dawn_native:dawn_native_static",
|
||||||
"${dawn_root}/src/dawn_wire:dawn_wire_static",
|
"${dawn_root}/src/dawn_wire:dawn_wire_static",
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
#include "dawn/common/Log.h"
|
#include "dawn/common/Log.h"
|
||||||
#include "dawn/common/SystemUtils.h"
|
#include "dawn/common/SystemUtils.h"
|
||||||
#include "dawn/dawn_proc.h"
|
#include "dawn/dawn_proc.h"
|
||||||
|
#include "dawn/utils/SystemUtils.h"
|
||||||
#include "dawn/webgpu_cpp.h"
|
#include "dawn/webgpu_cpp.h"
|
||||||
#include "dawn_native/DawnNative.h"
|
#include "dawn_native/DawnNative.h"
|
||||||
#include "dawn_wire/WireServer.h"
|
#include "dawn_wire/WireServer.h"
|
||||||
#include "utils/SystemUtils.h"
|
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -133,9 +133,9 @@ source_set("dawn_native_mocks_sources") {
|
|||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gmock_and_gtest",
|
":gmock_and_gtest",
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_sources",
|
"${dawn_root}/src/dawn_native:dawn_native_sources",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_static",
|
"${dawn_root}/src/dawn_native:dawn_native_static",
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add internal dawn_native config for internal unittests.
|
# Add internal dawn_native config for internal unittests.
|
||||||
@ -169,10 +169,10 @@ test("dawn_unittests") {
|
|||||||
"${dawn_root}/src/dawn:dawn_proc",
|
"${dawn_root}/src/dawn:dawn_proc",
|
||||||
"${dawn_root}/src/dawn:dawncpp",
|
"${dawn_root}/src/dawn:dawncpp",
|
||||||
"${dawn_root}/src/dawn/common",
|
"${dawn_root}/src/dawn/common",
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_sources",
|
"${dawn_root}/src/dawn_native:dawn_native_sources",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_static",
|
"${dawn_root}/src/dawn_native:dawn_native_static",
|
||||||
"${dawn_root}/src/dawn_wire",
|
"${dawn_root}/src/dawn_wire",
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add internal dawn_native config for internal unittests.
|
# Add internal dawn_native config for internal unittests.
|
||||||
@ -328,9 +328,9 @@ source_set("dawn_end2end_tests_sources") {
|
|||||||
"${dawn_root}/src/dawn/common",
|
"${dawn_root}/src/dawn/common",
|
||||||
|
|
||||||
# Statically linked because the end2end white_box tests use Dawn internals.
|
# Statically linked because the end2end white_box tests use Dawn internals.
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_static",
|
"${dawn_root}/src/dawn_native:dawn_native_static",
|
||||||
"${dawn_root}/src/dawn_wire",
|
"${dawn_root}/src/dawn_wire",
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -450,7 +450,7 @@ source_set("dawn_end2end_tests_sources") {
|
|||||||
"end2end/SwapChainValidationTests.cpp",
|
"end2end/SwapChainValidationTests.cpp",
|
||||||
"end2end/WindowSurfaceTests.cpp",
|
"end2end/WindowSurfaceTests.cpp",
|
||||||
]
|
]
|
||||||
deps += [ "${dawn_root}/src/utils:dawn_glfw" ]
|
deps += [ "${dawn_root}/src/dawn/utils:glfw" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dawn_enable_d3d12 || (dawn_enable_vulkan && is_chromeos)) {
|
if (dawn_enable_d3d12 || (dawn_enable_vulkan && is_chromeos)) {
|
||||||
@ -477,9 +477,9 @@ source_set("dawn_white_box_tests_sources") {
|
|||||||
"${dawn_root}/src/dawn_native:dawn_native_sources",
|
"${dawn_root}/src/dawn_native:dawn_native_sources",
|
||||||
|
|
||||||
# Statically linked because the end2end white_box tests use Dawn internals.
|
# Statically linked because the end2end white_box tests use Dawn internals.
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_static",
|
"${dawn_root}/src/dawn_native:dawn_native_static",
|
||||||
"${dawn_root}/src/dawn_wire",
|
"${dawn_root}/src/dawn_wire",
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -530,7 +530,7 @@ source_set("dawn_white_box_tests_sources") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (dawn_enable_opengl) {
|
if (dawn_enable_opengl) {
|
||||||
deps += [ "${dawn_root}/src/utils:dawn_glfw" ]
|
deps += [ "${dawn_root}/src/dawn/utils:glfw" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dawn_enable_opengles) {
|
if (dawn_enable_opengles) {
|
||||||
@ -551,9 +551,9 @@ test("dawn_end2end_tests") {
|
|||||||
"${dawn_root}/src/dawn:dawn_proc",
|
"${dawn_root}/src/dawn:dawn_proc",
|
||||||
"${dawn_root}/src/dawn:dawncpp",
|
"${dawn_root}/src/dawn:dawncpp",
|
||||||
"${dawn_root}/src/dawn/common",
|
"${dawn_root}/src/dawn/common",
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
"${dawn_root}/src/dawn_native:dawn_native_static",
|
"${dawn_root}/src/dawn_native:dawn_native_static",
|
||||||
"${dawn_root}/src/dawn_wire",
|
"${dawn_root}/src/dawn_wire",
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -572,7 +572,7 @@ test("dawn_end2end_tests") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (dawn_enable_opengl) {
|
if (dawn_enable_opengl) {
|
||||||
deps += [ "${dawn_root}/src/utils:dawn_glfw" ]
|
deps += [ "${dawn_root}/src/dawn/utils:glfw" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_chromeos) {
|
if (is_chromeos) {
|
||||||
@ -592,10 +592,10 @@ test("dawn_perf_tests") {
|
|||||||
"${dawn_root}/src/dawn:dawn_proc",
|
"${dawn_root}/src/dawn:dawn_proc",
|
||||||
"${dawn_root}/src/dawn:dawncpp",
|
"${dawn_root}/src/dawn:dawncpp",
|
||||||
"${dawn_root}/src/dawn/common",
|
"${dawn_root}/src/dawn/common",
|
||||||
|
"${dawn_root}/src/dawn/utils",
|
||||||
"${dawn_root}/src/dawn_native",
|
"${dawn_root}/src/dawn_native",
|
||||||
"${dawn_root}/src/dawn_platform",
|
"${dawn_root}/src/dawn_platform",
|
||||||
"${dawn_root}/src/dawn_wire",
|
"${dawn_root}/src/dawn_wire",
|
||||||
"${dawn_root}/src/utils:dawn_utils",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -630,6 +630,6 @@ test("dawn_perf_tests") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (dawn_enable_opengl) {
|
if (dawn_enable_opengl) {
|
||||||
deps += [ "${dawn_root}/src/utils:dawn_glfw" ]
|
deps += [ "${dawn_root}/src/dawn/utils:glfw" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,15 +21,15 @@
|
|||||||
#include "dawn/common/Platform.h"
|
#include "dawn/common/Platform.h"
|
||||||
#include "dawn/common/SystemUtils.h"
|
#include "dawn/common/SystemUtils.h"
|
||||||
#include "dawn/dawn_proc.h"
|
#include "dawn/dawn_proc.h"
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/PlatformDebugLogger.h"
|
||||||
|
#include "dawn/utils/SystemUtils.h"
|
||||||
|
#include "dawn/utils/TerribleCommandBuffer.h"
|
||||||
|
#include "dawn/utils/TestUtils.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
#include "dawn/utils/WireHelper.h"
|
||||||
#include "dawn_wire/WireClient.h"
|
#include "dawn_wire/WireClient.h"
|
||||||
#include "dawn_wire/WireServer.h"
|
#include "dawn_wire/WireServer.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/PlatformDebugLogger.h"
|
|
||||||
#include "utils/SystemUtils.h"
|
|
||||||
#include "utils/TerribleCommandBuffer.h"
|
|
||||||
#include "utils/TestUtils.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
#include "utils/WireHelper.h"
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
@ -19,13 +19,13 @@
|
|||||||
#include "dawn/common/Platform.h"
|
#include "dawn/common/Platform.h"
|
||||||
#include "dawn/common/Preprocessor.h"
|
#include "dawn/common/Preprocessor.h"
|
||||||
#include "dawn/dawn_proc_table.h"
|
#include "dawn/dawn_proc_table.h"
|
||||||
|
#include "dawn/utils/ScopedAutoreleasePool.h"
|
||||||
|
#include "dawn/utils/TextureUtils.h"
|
||||||
#include "dawn/webgpu_cpp.h"
|
#include "dawn/webgpu_cpp.h"
|
||||||
#include "dawn/webgpu_cpp_print.h"
|
#include "dawn/webgpu_cpp_print.h"
|
||||||
#include "dawn_native/DawnNative.h"
|
#include "dawn_native/DawnNative.h"
|
||||||
#include "tests/ParamGenerator.h"
|
#include "tests/ParamGenerator.h"
|
||||||
#include "tests/ToggleParser.h"
|
#include "tests/ToggleParser.h"
|
||||||
#include "utils/ScopedAutoreleasePool.h"
|
|
||||||
#include "utils/TextureUtils.h"
|
|
||||||
|
|
||||||
#include <dawn_platform/DawnPlatform.h>
|
#include <dawn_platform/DawnPlatform.h>
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class BasicTests : public DawnTest {};
|
class BasicTests : public DawnTest {};
|
||||||
|
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
constexpr static uint32_t kRTSize = 8;
|
constexpr static uint32_t kRTSize = 8;
|
||||||
|
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/TestUtils.h"
|
#include "dawn/utils/TestUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#define EXPECT_LAZY_CLEAR(N, statement) \
|
#define EXPECT_LAZY_CLEAR(N, statement) \
|
||||||
do { \
|
do { \
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class ClipSpaceTest : public DawnTest {
|
class ClipSpaceTest : public DawnTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr static unsigned int kRTSize = 64;
|
constexpr static unsigned int kRTSize = 64;
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
class CommandEncoderTests : public DawnTest {};
|
class CommandEncoderTests : public DawnTest {};
|
||||||
|
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/TestUtils.h"
|
#include "dawn/utils/TestUtils.h"
|
||||||
#include "utils/TextureUtils.h"
|
#include "dawn/utils/TextureUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
// The helper struct to configure the copies between buffers and textures.
|
// The helper struct to configure the copies between buffers and textures.
|
||||||
struct CopyConfig {
|
struct CopyConfig {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class ComputeStorageBufferBarrierTests : public DawnTest {
|
class ComputeStorageBufferBarrierTests : public DawnTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
#include <array>
|
#include <array>
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/TestUtils.h"
|
#include "dawn/utils/TestUtils.h"
|
||||||
#include "utils/TextureUtils.h"
|
#include "dawn/utils/TextureUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
// For MinimumBufferSpec bytesPerRow and rowsPerImage, compute a default from the copy extent.
|
// For MinimumBufferSpec bytesPerRow and rowsPerImage, compute a default from the copy extent.
|
||||||
constexpr uint32_t kStrideComputeDefault = 0xFFFF'FFFEul;
|
constexpr uint32_t kStrideComputeDefault = 0xFFFF'FFFEul;
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
|
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/TestUtils.h"
|
#include "dawn/utils/TestUtils.h"
|
||||||
#include "utils/TextureUtils.h"
|
#include "dawn/utils/TextureUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::RGBA8Unorm;
|
static constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::RGBA8Unorm;
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
struct CreatePipelineAsyncTask {
|
struct CreatePipelineAsyncTask {
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class CullingTest : public DawnTest {
|
class CullingTest : public DawnTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#define EXPECT_CACHE_HIT(N, statement) \
|
#define EXPECT_CACHE_HIT(N, statement) \
|
||||||
do { \
|
do { \
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
#include <dxgi1_4.h>
|
#include <dxgi1_4.h>
|
||||||
#include <wrl/client.h>
|
#include <wrl/client.h>
|
||||||
|
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "dawn_native/D3D12Backend.h"
|
#include "dawn_native/D3D12Backend.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
using Microsoft::WRL::ComPtr;
|
using Microsoft::WRL::ComPtr;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class DebugMarkerTests : public DawnTest {};
|
class DebugMarkerTests : public DawnTest {};
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/TextureUtils.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/TextureUtils.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
constexpr static unsigned int kRTSize = 2;
|
constexpr static unsigned int kRTSize = 2;
|
||||||
|
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#include <array>
|
#include <array>
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/TestUtils.h"
|
#include "dawn/utils/TestUtils.h"
|
||||||
#include "utils/TextureUtils.h"
|
#include "dawn/utils/TextureUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
using TextureFormat = wgpu::TextureFormat;
|
using TextureFormat = wgpu::TextureFormat;
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
using TextureFormat = wgpu::TextureFormat;
|
using TextureFormat = wgpu::TextureFormat;
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr static unsigned int kRTSize = 64;
|
constexpr static unsigned int kRTSize = 64;
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
using ::testing::HasSubstr;
|
using ::testing::HasSubstr;
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "dawn/dawn_proc.h"
|
#include "dawn/dawn_proc.h"
|
||||||
|
#include "dawn/utils/SystemUtils.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
#include "utils/SystemUtils.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
class DeviceInitializationTest : public testing::Test {
|
class DeviceInitializationTest : public testing::Test {
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/MockCallback.h"
|
#include "tests/MockCallback.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderBundleEncoderDescriptor.h"
|
#include "dawn/utils/ComboRenderBundleEncoderDescriptor.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 4;
|
constexpr uint32_t kRTSize = 4;
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 4;
|
constexpr uint32_t kRTSize = 4;
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 4;
|
constexpr uint32_t kRTSize = 4;
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 4;
|
constexpr uint32_t kRTSize = 4;
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class EntryPointTests : public DawnTest {};
|
class EntryPointTests : public DawnTest {};
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 1;
|
constexpr uint32_t kRTSize = 1;
|
||||||
|
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
class GpuMemorySyncTests : public DawnTest {
|
class GpuMemorySyncTests : public DawnTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
|
|
||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
#include "dawn_native/MetalBackend.h"
|
#include "dawn_native/MetalBackend.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
|
||||||
#include "utils/WGPUHelpers.h"
|
|
||||||
|
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
#include <CoreFoundation/CoreFoundation.h>
|
||||||
#include <CoreVideo/CVPixelBuffer.h>
|
#include <CoreVideo/CVPixelBuffer.h>
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 400;
|
constexpr uint32_t kRTSize = 400;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "dawn/common/Platform.h"
|
#include "dawn/common/Platform.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class MaxLimitTests : public DawnTest {
|
class MaxLimitTests : public DawnTest {
|
||||||
public:
|
public:
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Assert.h"
|
#include "dawn/common/Assert.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
class MultisampledRenderingTest : public DawnTest {
|
class MultisampledRenderingTest : public DawnTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include "tests/DawnTest.h"
|
#include "tests/DawnTest.h"
|
||||||
|
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
// https://github.com/gpuweb/gpuweb/issues/108
|
// https://github.com/gpuweb/gpuweb/issues/108
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
|
|
||||||
#include "dawn/common/Constants.h"
|
#include "dawn/common/Constants.h"
|
||||||
#include "dawn/common/Math.h"
|
#include "dawn/common/Math.h"
|
||||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
#include "dawn/utils/ComboRenderPipelineDescriptor.h"
|
||||||
#include "utils/TestUtils.h"
|
#include "dawn/utils/TestUtils.h"
|
||||||
#include "utils/WGPUHelpers.h"
|
#include "dawn/utils/WGPUHelpers.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user