mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
dawn_native: Fixup namespace from backend:: to dawn_native::
This commit is contained in:
committed by
Corentin Wallez
parent
30965a7729
commit
49a65d0c0c
@@ -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 {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/ErrorData.h"
|
||||
|
||||
using namespace backend;
|
||||
using namespace dawn_native;
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "dawn_native/PerStage.h"
|
||||
|
||||
using namespace backend;
|
||||
using namespace dawn_native;
|
||||
|
||||
// Tests for StageBit
|
||||
TEST(PerStage, StageBit) {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
using namespace backend;
|
||||
using namespace dawn_native;
|
||||
|
||||
struct RCTest : public RefCounted {
|
||||
RCTest() {
|
||||
|
||||
@@ -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 {
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "common/Constants.h"
|
||||
#include "common/Math.h"
|
||||
|
||||
using namespace backend::d3d12;
|
||||
using namespace dawn_native::d3d12;
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user