| 107 | } |
| 108 | |
| 109 | bool CheckRenderD3D11::PPMvsPPM(const char *src_file, const char *ref_file, const char *exec_path, |
| 110 | const float epsilon, const float threshold) |
| 111 | { |
| 112 | char *ref_file_path = sdkFindFilePath(ref_file, exec_path); |
| 113 | |
| 114 | if (ref_file_path == NULL) |
| 115 | { |
| 116 | printf("CheckRenderD3D11::PPMvsPPM unable to find <%s> in <%s> Aborting comparison!\n", ref_file, exec_path); |
| 117 | printf(">>> Check info.xml and [project//data] folder <%s> <<<\n", ref_file); |
| 118 | printf("Aborting comparison!\n"); |
| 119 | printf(" FAILURE!\n"); |
| 120 | return false; |
| 121 | } |
| 122 | |
| 123 | return sdkComparePPM(src_file,ref_file_path,epsilon,threshold,true) == true; |
| 124 | } |
no test coverage detected