1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

RSX: DP2A for fragment decompiler

This commit is contained in:
raven02 2015-05-22 08:09:53 +08:00 committed by vlj
parent f961a2e3b4
commit 67e8e0a367

View File

@ -30,7 +30,7 @@ std::string GLFragmentDecompilerThread::getFunction(FUNCTION f)
case FUNCTION::FUNCTION_DP2: case FUNCTION::FUNCTION_DP2:
return "vec4(dot($0.xy, $1.xy))"; return "vec4(dot($0.xy, $1.xy))";
case FUNCTION::FUNCTION_DP2A: case FUNCTION::FUNCTION_DP2A:
return ""; return "vec4(dot($0.xy, $1.xy) + $2.x)";
case FUNCTION::FUNCTION_DP3: case FUNCTION::FUNCTION_DP3:
return "vec4(dot($0.xyz, $1.xyz))"; return "vec4(dot($0.xyz, $1.xyz))";
case FUNCTION::FUNCTION_DP4: case FUNCTION::FUNCTION_DP4: