3
0
Fork 0
forked from suyu/suyu

emit_glasm_context_get_set: Remove unused variable

This commit is contained in:
lat9nq 2021-05-23 19:36:59 -04:00 committed by ameerj
parent e30d4fa976
commit 7fdf0d7d33

View file

@ -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;