DPH disappeared when merging, need to merge commit with the initial one

This commit is contained in:
vlj 2015-06-05 20:53:36 +02:00 committed by Vincent Lejeune
parent 22e67db0f2
commit e4435a9308
2 changed files with 4 additions and 0 deletions

View file

@ -43,6 +43,8 @@ std::string D3D12FragmentDecompiler::getFunction(enum class FUNCTION f)
return "dot($0.xyz, $1.xyz).xxxx";
case FUNCTION::FUNCTION_DP4:
return "dot($0, $1).xxxx";
case FUNCTION::FUNCTION_DPH:
return "dot(float4($0.xyz, 1.0), $1).xxxx";
case FUNCTION::FUNCTION_SFL:
return "float4(0., 0., 0., 0.)";
case FUNCTION::FUNCTION_STR:

View file

@ -36,6 +36,8 @@ std::string D3D12VertexProgramDecompiler::getFunction(enum class FUNCTION f)
return "dot($0.xyz, $1.xyz).xxxx";
case FUNCTION::FUNCTION_DP4:
return "dot($0, $1).xxxx";
case FUNCTION::FUNCTION_DPH:
return "dot(float4($0.xyz, 1.0), $1).xxxx";
case FUNCTION::FUNCTION_SFL:
return "float4(0., 0., 0., 0.)";
case FUNCTION::FUNCTION_STR: