mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
DPH disappeared when merging, need to merge commit with the initial one
This commit is contained in:
parent
22e67db0f2
commit
e4435a9308
2 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,8 @@ std::string D3D12FragmentDecompiler::getFunction(enum class FUNCTION f)
|
||||||
return "dot($0.xyz, $1.xyz).xxxx";
|
return "dot($0.xyz, $1.xyz).xxxx";
|
||||||
case FUNCTION::FUNCTION_DP4:
|
case FUNCTION::FUNCTION_DP4:
|
||||||
return "dot($0, $1).xxxx";
|
return "dot($0, $1).xxxx";
|
||||||
|
case FUNCTION::FUNCTION_DPH:
|
||||||
|
return "dot(float4($0.xyz, 1.0), $1).xxxx";
|
||||||
case FUNCTION::FUNCTION_SFL:
|
case FUNCTION::FUNCTION_SFL:
|
||||||
return "float4(0., 0., 0., 0.)";
|
return "float4(0., 0., 0., 0.)";
|
||||||
case FUNCTION::FUNCTION_STR:
|
case FUNCTION::FUNCTION_STR:
|
||||||
|
|
|
@ -36,6 +36,8 @@ std::string D3D12VertexProgramDecompiler::getFunction(enum class FUNCTION f)
|
||||||
return "dot($0.xyz, $1.xyz).xxxx";
|
return "dot($0.xyz, $1.xyz).xxxx";
|
||||||
case FUNCTION::FUNCTION_DP4:
|
case FUNCTION::FUNCTION_DP4:
|
||||||
return "dot($0, $1).xxxx";
|
return "dot($0, $1).xxxx";
|
||||||
|
case FUNCTION::FUNCTION_DPH:
|
||||||
|
return "dot(float4($0.xyz, 1.0), $1).xxxx";
|
||||||
case FUNCTION::FUNCTION_SFL:
|
case FUNCTION::FUNCTION_SFL:
|
||||||
return "float4(0., 0., 0., 0.)";
|
return "float4(0., 0., 0., 0.)";
|
||||||
case FUNCTION::FUNCTION_STR:
|
case FUNCTION::FUNCTION_STR:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue