mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
renderer: added support for instance step rates
This commit is contained in:
parent
986ed0662c
commit
cfbe8b9e6d
9 changed files with 129 additions and 26 deletions
|
@ -77,7 +77,8 @@ struct BufferResource {
|
|||
u32 num_records;
|
||||
IR::Type used_types;
|
||||
AmdGpu::Buffer inline_cbuf;
|
||||
bool is_storage;
|
||||
bool is_storage{false};
|
||||
bool is_instance_data{false};
|
||||
|
||||
constexpr AmdGpu::Buffer GetVsharp(const Info& info) const noexcept;
|
||||
};
|
||||
|
@ -116,6 +117,7 @@ struct Info {
|
|||
u8 sgpr_base;
|
||||
u8 dword_offset;
|
||||
InstanceIdType instance_step_rate;
|
||||
s32 instance_data_buf;
|
||||
};
|
||||
boost::container::static_vector<VsInput, 32> vs_inputs{};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue