diff options
| author | 2021-05-23 19:36:59 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:33 -0400 | |
| commit | 7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1 (patch) | |
| tree | 3570abc1ff25502027f298918d5127304ec983a0 /src/shader_recompiler/backend | |
| parent | glasm: Implement indirect attribute loads (diff) | |
| download | yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar.gz yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar.xz yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.zip | |
emit_glasm_context_get_set: Remove unused variable
Diffstat (limited to 'src/shader_recompiler/backend')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp index b44c00c73..787612def 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp | |||
| @@ -205,7 +205,6 @@ void EmitGetAttributeIndexed(EmitContext& ctx, IR::Inst& inst, ScalarS32 offset, | |||
| 205 | read_swizzled(index, fmt::format("{}.position", ctx.attrib_name)); | 205 | read_swizzled(index, fmt::format("{}.position", ctx.attrib_name)); |
| 206 | } | 206 | } |
| 207 | } | 207 | } |
| 208 | const u32 base_attribute_value{static_cast<u32>(IR::Attribute::Generic0X) >> 2}; | ||
| 209 | for (u32 index = 0; index < ctx.info.input_generics.size(); ++index) { | 208 | for (u32 index = 0; index < ctx.info.input_generics.size(); ++index) { |
| 210 | if (!ctx.info.input_generics[index].used) { | 209 | if (!ctx.info.input_generics[index].used) { |
| 211 | continue; | 210 | continue; |