RSX: DP2A for fragment decompiler

This commit is contained in:
raven02
2015-05-22 08:09:53 +08:00
committed by Vincent Lejeune
parent caf863be4d
commit ce857ab1da
@@ -38,7 +38,7 @@ std::string D3D12FragmentDecompiler::getFunction(enum class FUNCTION f)
case FUNCTION::FUNCTION_DP2:
return "dot($0.xy, $1.xy).xxxx";
case FUNCTION::FUNCTION_DP2A:
return "";
return "(dot($0.xy, $1.xy) + $2.x).xxxx";
case FUNCTION::FUNCTION_DP3:
return "dot($0.xyz, $1.xyz).xxxx";
case FUNCTION::FUNCTION_DP4: