Преглед на файлове

emit_glasm_context_get_set: Remove unused variable

lat9nq преди 5 години
родител
ревизия
7fdf0d7d33
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp

+ 0 - 1
src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp

@@ -205,7 +205,6 @@ void EmitGetAttributeIndexed(EmitContext& ctx, IR::Inst& inst, ScalarS32 offset,
             read_swizzled(index, fmt::format("{}.position", ctx.attrib_name));
         }
     }
-    const u32 base_attribute_value{static_cast<u32>(IR::Attribute::Generic0X) >> 2};
     for (u32 index = 0; index < ctx.info.input_generics.size(); ++index) {
         if (!ctx.info.input_generics[index].used) {
             continue;