Fix HLSL debug logging

This commit is contained in:
Anthony Miles 2019-11-30 22:08:42 +13:00 committed by patrickvl
parent 3cd2f73332
commit b24ea2309c
1 changed files with 2 additions and 2 deletions

View File

@ -2756,7 +2756,7 @@ extern HRESULT EmuRecompileVshFunction
DbgVshPrintf("-- HLSL conversion 1 ---\n");
DbgVshPrintf("%s", BuildShader(pShader));
DbgVshPrintf(BuildShader(pShader).c_str());
DbgVshPrintf("-----------------------\n");
VshConvertShader(pShader, bNoReservedConstants);
@ -2770,7 +2770,7 @@ extern HRESULT EmuRecompileVshFunction
DbgVshPrintf("-----------------------\n");
DbgVshPrintf("-- HLSL conversion 2 ---\n");
DbgVshPrintf("%s", BuildShader(pShader));
DbgVshPrintf(BuildShader(pShader).c_str());
DbgVshPrintf("-----------------------\n");
// HACK: Azurik. Prevent Direct3D from trying to assemble this.