-------------------------------------------------------------------------------------- Checks to see if Dev.exe is located correctly --------------------------------------------------------------------------------------
| 3150 | // Checks to see if Dev.exe is located correctly |
| 3151 | //-------------------------------------------------------------------------------------- |
| 3152 | BOOL ShaderCache::CheckSCDEV() |
| 3153 | { |
| 3154 | if (!m_bGenerateShaderISA) { return FALSE; } |
| 3155 | |
| 3156 | FILE* pFile = NULL; |
| 3157 | _wfopen_s( &pFile, m_wsDevExePath, L"rb" ); |
| 3158 | |
| 3159 | if (pFile) |
| 3160 | { |
| 3161 | fclose( pFile ); |
| 3162 | |
| 3163 | return TRUE; |
| 3164 | } |
| 3165 | |
| 3166 | return FALSE; |
| 3167 | } |
| 3168 | |
| 3169 | //-------------------------------------------------------------------------------------- |
| 3170 | // Checks to see if an error file exists, and opens it if non-zero in size |
nothing calls this directly
no outgoing calls
no test coverage detected