| 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; |
nothing calls this directly
no test coverage detected