mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
also check for glsl errors on linking, activation GLSL_DEBUG again (slowdown on shader compilation)
This commit is contained in:
parent
9987765b1f
commit
f079b04a5d
5 changed files with 47 additions and 3 deletions
|
@ -145,6 +145,7 @@ bool PixelShaderCache::CompilePixelShader(FRAGMENTSHADER& ps, const char* pstrpr
|
|||
char szTemp[MAX_PATH];
|
||||
sprintf(szTemp, "ps_%d.txt", result);
|
||||
FILE *fp = fopen(szTemp, "wb");
|
||||
fwrite(infoLog, strlen(infoLog), 1, fp);
|
||||
fwrite(pstrprogram, strlen(pstrprogram), 1, fp);
|
||||
fclose(fp);
|
||||
delete[] infoLog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue