mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
RSX : factorize DPH
This commit is contained in:
parent
67e8e0a367
commit
79cb025d25
3 changed files with 4 additions and 1 deletions
|
@ -35,6 +35,8 @@ std::string GLVertexDecompilerThread::getFunction(FUNCTION f)
|
|||
return "vec4(dot($0.xyz, $1.xyz))";
|
||||
case FUNCTION::FUNCTION_DP4:
|
||||
return "vec4(dot($0, $1))";
|
||||
case FUNCTION::FUNCTION_DPH:
|
||||
return "vec4(dot(vec4($0.xyz, 1.0), $1))";
|
||||
case FUNCTION::FUNCTION_SFL:
|
||||
return "vec4(0., 0., 0., 0.)";
|
||||
case FUNCTION::FUNCTION_STR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue