mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Capitalize C types dawn -> Dawn
This is to match Chromium style. Change-Id: Ic97cc03e2291c653ade9662ba3d5e629872b10ad Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/5482 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
97ffc1a8aa
commit
45f9730855
@@ -35,10 +35,10 @@ class DevNull : public dawn_wire::CommandSerializer {
|
||||
std::vector<char> buf;
|
||||
};
|
||||
|
||||
static dawnProcDeviceCreateSwapChain originalDeviceCreateSwapChain = nullptr;
|
||||
static DawnProcDeviceCreateSwapChain originalDeviceCreateSwapChain = nullptr;
|
||||
|
||||
dawnSwapChain ErrorDeviceCreateSwapChain(dawnDevice device, const dawnSwapChainDescriptor*) {
|
||||
dawnSwapChainDescriptor desc;
|
||||
DawnSwapChain ErrorDeviceCreateSwapChain(DawnDevice device, const DawnSwapChainDescriptor*) {
|
||||
DawnSwapChainDescriptor desc;
|
||||
desc.nextInChain = nullptr;
|
||||
// A 0 implementation will trigger a swapchain creation error.
|
||||
desc.implementation = 0;
|
||||
@@ -46,7 +46,7 @@ dawnSwapChain ErrorDeviceCreateSwapChain(dawnDevice device, const dawnSwapChainD
|
||||
}
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
dawnProcTable procs = dawn_native::GetProcs();
|
||||
DawnProcTable procs = dawn_native::GetProcs();
|
||||
|
||||
// Swapchains receive a pointer to an implementation. The fuzzer will pass garbage in so we
|
||||
// intercept calls to create swapchains and make sure they always return error swapchains.
|
||||
|
||||
Reference in New Issue
Block a user