Skip to content
Snippets Groups Projects
Commit 7fdf0d7d authored by lat9nq's avatar lat9nq Committed by ameerj
Browse files

emit_glasm_context_get_set: Remove unused variable

parent e30d4fa9
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,6 @@ void EmitGetAttributeIndexed(EmitContext& ctx, IR::Inst& inst, ScalarS32 offset, ...@@ -205,7 +205,6 @@ void EmitGetAttributeIndexed(EmitContext& ctx, IR::Inst& inst, ScalarS32 offset,
read_swizzled(index, fmt::format("{}.position", ctx.attrib_name)); 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) { for (u32 index = 0; index < ctx.info.input_generics.size(); ++index) {
if (!ctx.info.input_generics[index].used) { if (!ctx.info.input_generics[index].used) {
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment