recompiler: switch instance data to storage buffers

This commit is contained in:
psucien 2024-07-07 13:08:39 +02:00
parent bf4bf4ccb2
commit 19c85c78cf
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ void Translator::EmitFetch(const GcnInst& inst) {
.stride = buffer.GetStride(), .stride = buffer.GetStride(),
.num_records = buffer.num_records, .num_records = buffer.num_records,
.used_types = IR::Type::F32, .used_types = IR::Type::F32,
.is_storage = true, // we may not fit into UBO with large meshes
.is_instance_data = true, .is_instance_data = true,
}); });
instance_buf_handle = s32(info.buffers.size() - 1); instance_buf_handle = s32(info.buffers.size() - 1);