diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-03-27 08:59:58 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:24 +0200 |
commit | dbd882ddeb1a1a9233c0085d0b8ccb022db385b2 (patch) | |
tree | 5a8456364cc41a0a53acf93e22e3f9ce855bd413 /src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | |
parent | spirv: Remove dependencies on Environment when generating SPIR-V (diff) | |
download | yuzu-dbd882ddeb1a1a9233c0085d0b8ccb022db385b2.tar yuzu-dbd882ddeb1a1a9233c0085d0b8ccb022db385b2.tar.gz yuzu-dbd882ddeb1a1a9233c0085d0b8ccb022db385b2.tar.bz2 yuzu-dbd882ddeb1a1a9233c0085d0b8ccb022db385b2.tar.lz yuzu-dbd882ddeb1a1a9233c0085d0b8ccb022db385b2.tar.xz yuzu-dbd882ddeb1a1a9233c0085d0b8ccb022db385b2.tar.zst yuzu-dbd882ddeb1a1a9233c0085d0b8ccb022db385b2.zip |
Diffstat (limited to 'src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp')
-rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp index 0ec0d4c01..60be67228 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp @@ -28,7 +28,7 @@ void AddConstantBufferDescriptor(Info& info, u32 index, u32 count) { void GetAttribute(Info& info, IR::Attribute attribute) { if (IR::IsGeneric(attribute)) { - info.loads_generics.at(IR::GenericAttributeIndex(attribute)) = true; + info.input_generics.at(IR::GenericAttributeIndex(attribute)).used = true; return; } switch (attribute) { |