mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 21:52:49 +00:00
GLSLDecompiler: Correct Texture Gather Offset.
This commit corrects the argument ordering in textureGatherOffset.
This commit is contained in:
parent
658489ebf7
commit
3d7c284e0f
|
@ -1670,7 +1670,7 @@ private:
|
||||||
|
|
||||||
const auto type = meta->sampler.IsShadow() ? Type::Float : Type::Int;
|
const auto type = meta->sampler.IsShadow() ? Type::Float : Type::Int;
|
||||||
return {GenerateTexture(operation, "Gather",
|
return {GenerateTexture(operation, "Gather",
|
||||||
{TextureArgument{type, meta->component}, TextureAoffi{}}) +
|
{TextureAoffi{}, TextureArgument{type, meta->component}}) +
|
||||||
GetSwizzle(meta->element),
|
GetSwizzle(meta->element),
|
||||||
Type::Float};
|
Type::Float};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue