mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
RSX: DP2A for fragment decompiler
This commit is contained in:
parent
caf863be4d
commit
ce857ab1da
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue