mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 01:15:39 +00:00
Add Device::CreateQueue() instead of the builder
We are changing all object creation to use descriptors but there is no creation argument to pass for queue, so instead Device::CreateQueue takes no argument.
This commit is contained in:
committed by
Corentin Wallez
parent
40e72d79ca
commit
b703def640
@@ -72,7 +72,7 @@ class BufferValidationTest : public ValidationTest {
|
||||
|
||||
mockBufferMapReadCallback = new MockBufferMapReadCallback;
|
||||
mockBufferMapWriteCallback = new MockBufferMapWriteCallback;
|
||||
queue = device.CreateQueueBuilder().GetResult();
|
||||
queue = device.CreateQueue();
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
|
||||
@@ -40,7 +40,7 @@ class PushConstantTest : public ValidationTest {
|
||||
private:
|
||||
void SetUp() override {
|
||||
ValidationTest::SetUp();
|
||||
queue = device.CreateQueueBuilder().GetResult();
|
||||
queue = device.CreateQueue();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class UsageValidationTest : public ValidationTest {
|
||||
private:
|
||||
void SetUp() override {
|
||||
ValidationTest::SetUp();
|
||||
queue = device.CreateQueueBuilder().GetResult();
|
||||
queue = device.CreateQueue();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user