1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-01-16 12:50:11 -06:00

GLSLDecompiler: Correct Texture Gather Offset.

This commit corrects the argument ordering in textureGatherOffset.
This commit is contained in:
Fernando Sahmkow 2019-11-07 11:30:41 -04:00 committed by FernandoS27
parent 658489ebf7
commit 3d7c284e0f

View File

@ -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};
}