recompiler: switch instance data to storage buffers
This commit is contained in:
parent
bf4bf4ccb2
commit
19c85c78cf
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue