mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
RSX: DP2A for fragment decompiler
This commit is contained in:
parent
f961a2e3b4
commit
67e8e0a367
@ -30,7 +30,7 @@ std::string GLFragmentDecompilerThread::getFunction(FUNCTION f)
|
||||
case FUNCTION::FUNCTION_DP2:
|
||||
return "vec4(dot($0.xy, $1.xy))";
|
||||
case FUNCTION::FUNCTION_DP2A:
|
||||
return "";
|
||||
return "vec4(dot($0.xy, $1.xy) + $2.x)";
|
||||
case FUNCTION::FUNCTION_DP3:
|
||||
return "vec4(dot($0.xyz, $1.xyz))";
|
||||
case FUNCTION::FUNCTION_DP4:
|
||||
|
Loading…
Reference in New Issue
Block a user