diff options
| author | 2019-11-08 15:56:29 -0500 | |
|---|---|---|
| committer | 2019-11-08 15:56:29 -0500 | |
| commit | a056d8de162491ce5a47bc6ab3699fe929dbe63d (patch) | |
| tree | d24fdb47bf4e6d2d46dcd523f97ba0d009e33531 | |
| parent | Merge pull request #3032 from ReinUsesLisp/simplify-control-flow-brx (diff) | |
| parent | GLSLDecompiler: Correct Texture Gather Offset. (diff) | |
| download | yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar.gz yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.tar.xz yuzu-a056d8de162491ce5a47bc6ab3699fe929dbe63d.zip | |
Merge pull request #3080 from FernandoS27/glsl-fix
GLSLDecompiler: Correct Texture Gather Offset.
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 92ee8459e..0ce59a852 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |||
| @@ -1670,7 +1670,7 @@ private: | |||
| 1670 | 1670 | ||
| 1671 | const auto type = meta->sampler.IsShadow() ? Type::Float : Type::Int; | 1671 | const auto type = meta->sampler.IsShadow() ? Type::Float : Type::Int; |
| 1672 | return {GenerateTexture(operation, "Gather", | 1672 | return {GenerateTexture(operation, "Gather", |
| 1673 | {TextureArgument{type, meta->component}, TextureAoffi{}}) + | 1673 | {TextureAoffi{}, TextureArgument{type, meta->component}}) + |
| 1674 | GetSwizzle(meta->element), | 1674 | GetSwizzle(meta->element), |
| 1675 | Type::Float}; | 1675 | Type::Float}; |
| 1676 | } | 1676 | } |