summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/Debugger.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2012-05-26 13:47:07 +1000
committerskidau <skidau@gmail.com>2012-05-26 13:47:07 +1000
commit146b02615c07dd52dddaa18b7e23d09bc23b549e (patch)
tree3455f3d24090458d85142ea335ca37a00056b981 /Source/Core/VideoCommon/Src/Debugger.cpp
parent82cb14e49bc4bbd463427243248a92ef1a58db3f (diff)
parent5650b3b5f6c4d915827768b6bb1f4f4c49982b21 (diff)
Merge rodolfoosvaldobogado's zcomploc code (Graphic_Fixes branch)
Diffstat (limited to 'Source/Core/VideoCommon/Src/Debugger.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/Debugger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/Debugger.cpp b/Source/Core/VideoCommon/Src/Debugger.cpp
index 4aa25b72be..e743cb01a1 100644
--- a/Source/Core/VideoCommon/Src/Debugger.cpp
+++ b/Source/Core/VideoCommon/Src/Debugger.cpp
@@ -103,21 +103,21 @@ void GFXDebuggerBase::DumpPixelShader(const char* path)
if (!useDstAlpha)
{
output = "Destination alpha disabled:\n";
- output += GeneratePixelShaderCode(DSTALPHA_NONE, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
+ output += GeneratePixelShaderCode(PSGRENDER_NORMAL, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
}
else
{
if(g_ActiveConfig.backend_info.bSupportsDualSourceBlend)
{
output = "Using dual source blending for destination alpha:\n";
- output += GeneratePixelShaderCode(DSTALPHA_DUAL_SOURCE_BLEND, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
+ output += GeneratePixelShaderCode(PSGRENDER_DSTALPHA_DUAL_SOURCE_BLEND, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
}
else
{
output = "Using two passes for emulating destination alpha:\n";
- output += GeneratePixelShaderCode(DSTALPHA_NONE, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
+ output += GeneratePixelShaderCode(PSGRENDER_NORMAL, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
output += "\n\nDestination alpha pass shader:\n";
- output += GeneratePixelShaderCode(DSTALPHA_ALPHA_PASS, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
+ output += GeneratePixelShaderCode(PSGRENDER_DSTALPHA_ALPHA_PASS, g_ActiveConfig.backend_info.APIType, g_nativeVertexFmt->m_components);
}
}