mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-23 23:23:02 +00:00
gl_shader_decompiler: Fixup AMD's slow path type
This commit is contained in:
parent
6c449793b8
commit
03276e7490
|
@ -830,7 +830,7 @@ private:
|
|||
final_offset);
|
||||
|
||||
const std::string result = code.GenerateTemporary();
|
||||
code.AddLine("float {};", result);
|
||||
code.AddLine("uint {};", result);
|
||||
for (u32 swizzle = 0; swizzle < 4; ++swizzle) {
|
||||
code.AddLine("if (({} & 3) == {}) {} = {}{};", final_offset, swizzle, result,
|
||||
pack, GetSwizzle(swizzle));
|
||||
|
|
Loading…
Reference in a new issue