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:
Corentin Wallez
2018-06-14 20:26:27 -04:00
committed by Corentin Wallez
parent 40e72d79ca
commit b703def640
35 changed files with 65 additions and 115 deletions

View File

@@ -458,7 +458,7 @@ namespace {
void init() {
device = CreateCppNXTDevice();
queue = device.CreateQueueBuilder().GetResult();
queue = device.CreateQueue();
swapchain = GetSwapChain(device);
swapchain.Configure(GetPreferredSwapChainTextureFormat(),
nxt::TextureUsageBit::OutputAttachment, 640, 480);