mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
RSX: DP2A for fragment decompiler
This commit is contained in:
parent
caf863be4d
commit
ce857ab1da
@ -38,7 +38,7 @@ std::string D3D12FragmentDecompiler::getFunction(enum class FUNCTION f)
|
|||||||
case FUNCTION::FUNCTION_DP2:
|
case FUNCTION::FUNCTION_DP2:
|
||||||
return "dot($0.xy, $1.xy).xxxx";
|
return "dot($0.xy, $1.xy).xxxx";
|
||||||
case FUNCTION::FUNCTION_DP2A:
|
case FUNCTION::FUNCTION_DP2A:
|
||||||
return "";
|
return "(dot($0.xy, $1.xy) + $2.x).xxxx";
|
||||||
case FUNCTION::FUNCTION_DP3:
|
case FUNCTION::FUNCTION_DP3:
|
||||||
return "dot($0.xyz, $1.xyz).xxxx";
|
return "dot($0.xyz, $1.xyz).xxxx";
|
||||||
case FUNCTION::FUNCTION_DP4:
|
case FUNCTION::FUNCTION_DP4:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user