diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-30 04:37:09 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-03 02:46:25 +0200 |
commit | 06b363c9b5ccb64cfe7ac4d001ae35bff30828de (patch) | |
tree | 313a8c5330426e050cb0a6577420e3e40f58ce0b /src/video_core/renderer_opengl | |
parent | shader_ir/memory: Emit AL2P IR (diff) | |
download | yuzu-06b363c9b5ccb64cfe7ac4d001ae35bff30828de.tar yuzu-06b363c9b5ccb64cfe7ac4d001ae35bff30828de.tar.gz yuzu-06b363c9b5ccb64cfe7ac4d001ae35bff30828de.tar.bz2 yuzu-06b363c9b5ccb64cfe7ac4d001ae35bff30828de.tar.lz yuzu-06b363c9b5ccb64cfe7ac4d001ae35bff30828de.tar.xz yuzu-06b363c9b5ccb64cfe7ac4d001ae35bff30828de.tar.zst yuzu-06b363c9b5ccb64cfe7ac4d001ae35bff30828de.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index ef1a1995f..33c0edca9 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -317,8 +317,7 @@ private: void DeclareInputAttributes() { const auto& attributes = ir.GetInputAttributes(); - for (const auto element : attributes) { - const Attribute::Index index = element.first; + for (const auto index : attributes) { if (index < Attribute::Index::Attribute_0 || index > Attribute::Index::Attribute_31) { // Skip when it's not a generic attribute continue; |