mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-05 12:46:11 +00:00
Remove extra copy of Queue in GL backend. (#213)
This commit is contained in:
parent
11fc210487
commit
bcd2e8559e
@ -111,15 +111,4 @@ namespace backend { namespace opengl {
|
|||||||
void Device::TickImpl() {
|
void Device::TickImpl() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Queue
|
|
||||||
|
|
||||||
Queue::Queue(Device* device) : QueueBase(device) {
|
|
||||||
}
|
|
||||||
|
|
||||||
void Queue::Submit(uint32_t numCommands, CommandBuffer* const* commands) {
|
|
||||||
for (uint32_t i = 0; i < numCommands; ++i) {
|
|
||||||
commands[i]->Execute();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}} // namespace backend::opengl
|
}} // namespace backend::opengl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user