mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 14:43:06 +00:00
Merge pull request #3080 from FernandoS27/glsl-fix
GLSLDecompiler: Correct Texture Gather Offset.
This commit is contained in:
commit
a056d8de16
|
@ -1670,7 +1670,7 @@ private:
|
|||
|
||||
const auto type = meta->sampler.IsShadow() ? Type::Float : Type::Int;
|
||||
return {GenerateTexture(operation, "Gather",
|
||||
{TextureArgument{type, meta->component}, TextureAoffi{}}) +
|
||||
{TextureAoffi{}, TextureArgument{type, meta->component}}) +
|
||||
GetSwizzle(meta->element),
|
||||
Type::Float};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue