From 19c85c78cf7cdb7097222b2c4fb113188ad5a911 Mon Sep 17 00:00:00 2001 From: psucien Date: Sun, 7 Jul 2024 13:08:39 +0200 Subject: [PATCH] recompiler: switch instance data to storage buffers --- src/shader_recompiler/frontend/translate/translate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shader_recompiler/frontend/translate/translate.cpp b/src/shader_recompiler/frontend/translate/translate.cpp index ec5790ac8..f289933b7 100644 --- a/src/shader_recompiler/frontend/translate/translate.cpp +++ b/src/shader_recompiler/frontend/translate/translate.cpp @@ -247,6 +247,7 @@ void Translator::EmitFetch(const GcnInst& inst) { .stride = buffer.GetStride(), .num_records = buffer.num_records, .used_types = IR::Type::F32, + .is_storage = true, // we may not fit into UBO with large meshes .is_instance_data = true, }); instance_buf_handle = s32(info.buffers.size() - 1);