dawn_native: Fixup namespace from backend:: to dawn_native::

This commit is contained in:
Corentin Wallez
2018-07-24 16:45:45 +02:00
committed by Corentin Wallez
parent 30965a7729
commit 49a65d0c0c
232 changed files with 474 additions and 474 deletions

View File

@@ -16,7 +16,7 @@
#include "dawn_native/CommandAllocator.h"
using namespace backend;
using namespace dawn_native;
// Definition of the command types used in the tests
enum class CommandType {

View File

@@ -17,7 +17,7 @@
#include "dawn_native/Error.h"
#include "dawn_native/ErrorData.h"
using namespace backend;
using namespace dawn_native;
namespace {

View File

@@ -16,7 +16,7 @@
#include "dawn_native/PerStage.h"
using namespace backend;
using namespace dawn_native;
// Tests for StageBit
TEST(PerStage, StageBit) {

View File

@@ -16,7 +16,7 @@
#include "dawn_native/RefCounted.h"
using namespace backend;
using namespace dawn_native;
struct RCTest : public RefCounted {
RCTest() {

View File

@@ -20,12 +20,12 @@
#include <type_traits>
// Make our own Base - Backend object pair, reusing the CommandBuffer name
namespace backend {
namespace dawn_native {
class CommandBufferBase : public RefCounted {
};
}
using namespace backend;
using namespace dawn_native;
class MyCommandBuffer : public CommandBufferBase {
};

View File

@@ -20,7 +20,7 @@
#include "common/Constants.h"
#include "common/Math.h"
using namespace backend::d3d12;
using namespace dawn_native::d3d12;
namespace {

View File

@@ -16,7 +16,7 @@
#include "dawn/dawn.h"
namespace backend {
namespace dawn_native {
namespace null {
void Init(dawnProcTable* procs, dawnDevice* device);
}
@@ -25,7 +25,7 @@ namespace backend {
ValidationTest::ValidationTest() {
dawnProcTable procs;
dawnDevice cDevice;
backend::null::Init(&procs, &cDevice);
dawn_native::null::Init(&procs, &cDevice);
dawnSetProcs(&procs);
device = dawn::Device::Acquire(cDevice);