MCPcopy Create free account
hub / github.com/MethanePowered/MethaneKit / GetTestDevice

Function GetTestDevice

Tests/UserInterface/Types/ContextTest.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50static tf::Executor g_parallel_executor;
51
52static Rhi::Device GetTestDevice()
53{
54 const Rhi::Devices& devices = Rhi::System::Get().UpdateGpuDevices();
55 CHECK(devices.size() > 0);
56 return devices[0];
57}
58
59TEST_CASE("UI Context Accessors", "[ui][context][accessor]")
60{

Callers 1

ContextTest.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected