summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-05-24 01:36:59 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1 (patch)
tree3570abc1ff25502027f298918d5127304ec983a0
parentglasm: Implement indirect attribute loads (diff)
downloadyuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar
yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar.gz
yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar.bz2
yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar.lz
yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar.xz
yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.tar.zst
yuzu-7fdf0d7d33ed1d0e860d6d1fca97bb66fee0d6a1.zip
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp1
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,
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;