MCPcopy Create free account
hub / github.com/RenderKit/embree / run

Method run

tutorials/verify/verify.cpp:1059–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1057 : VerifyApplication::Test(name,isa,VerifyApplication::TEST_SHOULD_PASS), sflags(sflags) {}
1058
1059 VerifyApplication::TestReturnValue run(VerifyApplication* state, bool silent)
1060 {
1061 std::string cfg = state->rtcore + ",isa="+stringOfISA(isa);
1062 RTCDeviceRef device = rtcNewDevice(cfg.c_str());
1063 errorHandler(nullptr,rtcGetDeviceError(device));
1064 RTCSceneRef scene = rtcNewScene(device);
1065 rtcSetSceneFlags(scene,sflags.sflags);
1066 rtcSetSceneBuildQuality(scene,sflags.qflags);
1067 AssertNoError(device);
1068 rtcCommitScene (scene);
1069 AssertNoError(device);
1070 return VerifyApplication::PASSED;
1071 }
1072
1073 public:
1074 SceneFlags sflags;

Callers

nothing calls this directly

Calls 10

stringOfISAFunction · 0.85
rtcNewDeviceFunction · 0.85
errorHandlerFunction · 0.85
rtcGetDeviceErrorFunction · 0.85
rtcNewSceneFunction · 0.85
rtcSetSceneFlagsFunction · 0.85
rtcSetSceneBuildQualityFunction · 0.85
AssertNoErrorFunction · 0.85
rtcCommitSceneFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected