mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 15:16:16 +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
@@ -26,12 +26,7 @@ nxtTextureFormat swapChainFormat;
|
||||
|
||||
void init() {
|
||||
device = CreateCppNXTDevice().Release();
|
||||
|
||||
{
|
||||
nxtQueueBuilder builder = nxtDeviceCreateQueueBuilder(device);
|
||||
queue = nxtQueueBuilderGetResult(builder);
|
||||
nxtQueueBuilderRelease(builder);
|
||||
}
|
||||
queue = nxtDeviceCreateQueue(device);
|
||||
|
||||
{
|
||||
nxtSwapChainBuilder builder = nxtDeviceCreateSwapChainBuilder(device);
|
||||
|
||||
Reference in New Issue
Block a user