MCPcopy Create free account
hub / github.com/GPUOpen-Tools/GPU-Reshape / GetQueue

Method GetQueue

Source/Backends/DX12/TestDevice/Source/Device.cpp:175–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175QueueID Device::GetQueue(QueueType type) {
176 switch (type) {
177 case QueueType::Graphics:
178 return QueueID(0);
179 case QueueType::Compute:
180 return QueueID(1);
181 case QueueType::Transfer:
182 return QueueID(2);
183 }
184
185 return QueueID::Invalid();
186}
187
188BufferID Device::CreateTexelBuffer(ResourceType type, Backend::IL::Format format, uint64_t size, const void *data, uint64_t dataSize) {
189 ResourceInfo &resource = resources.emplace_back();

Callers 2

SamplerIndexOOBExecutorFunction · 0.45
TextureIndexOOBExecutorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected