mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-03 15:20:17 +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 a new issue