mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 15:16:16 +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
@@ -98,8 +98,8 @@ dawn::Device CreateCppDawnDevice() {
|
||||
backendAdapter = *adapterIt;
|
||||
}
|
||||
|
||||
dawnDevice backendDevice = backendAdapter.CreateDevice();
|
||||
dawnProcTable backendProcs = dawn_native::GetProcs();
|
||||
DawnDevice backendDevice = backendAdapter.CreateDevice();
|
||||
DawnProcTable backendProcs = dawn_native::GetProcs();
|
||||
|
||||
binding = utils::CreateBinding(backendType, window, backendDevice);
|
||||
if (binding == nullptr) {
|
||||
@@ -107,8 +107,8 @@ dawn::Device CreateCppDawnDevice() {
|
||||
}
|
||||
|
||||
// Choose whether to use the backend procs and devices directly, or set up the wire.
|
||||
dawnDevice cDevice = nullptr;
|
||||
dawnProcTable procs;
|
||||
DawnDevice cDevice = nullptr;
|
||||
DawnProcTable procs;
|
||||
|
||||
switch (cmdBufType) {
|
||||
case CmdBufType::None:
|
||||
@@ -125,8 +125,8 @@ dawn::Device CreateCppDawnDevice() {
|
||||
c2sBuf->SetHandler(wireServer);
|
||||
|
||||
wireClient = new dawn_wire::WireClient(c2sBuf);
|
||||
dawnDevice clientDevice = wireClient->GetDevice();
|
||||
dawnProcTable clientProcs = wireClient->GetProcs();
|
||||
DawnDevice clientDevice = wireClient->GetDevice();
|
||||
DawnProcTable clientProcs = wireClient->GetProcs();
|
||||
s2cBuf->SetHandler(wireClient);
|
||||
|
||||
procs = clientProcs;
|
||||
|
||||
Reference in New Issue
Block a user