mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 16:31:19 +12:00
prepare for surface copy
This commit is contained in:
parent
eb573fcaca
commit
8316cee59a
9 changed files with 124 additions and 48 deletions
|
@ -3732,13 +3732,6 @@ void LatteDecompiler_emitHelperFunctions(LatteDecompilerShaderContext* shaderCon
|
|||
"return round(x / 2.0) * 2.0;\r\n"
|
||||
"}\r\n");
|
||||
|
||||
// unpackHalf2x16
|
||||
fCStr_shaderSource->add(""
|
||||
"template<typename T>\r\n"
|
||||
"float2 unpackHalf2x16(T x) {\r\n"
|
||||
"return float2(as_type<half2>(x));\r\n"
|
||||
"}\r\n");
|
||||
|
||||
// Bit cast
|
||||
|
||||
// Scalar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue