mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
rsx: inlined array stride fix
This commit is contained in:
parent
986bb24326
commit
37b6afaf2c
1 changed files with 2 additions and 2 deletions
|
@ -1791,13 +1791,13 @@ namespace rsx
|
||||||
|
|
||||||
if (vinfo.size() > 0)
|
if (vinfo.size() > 0)
|
||||||
{
|
{
|
||||||
// Attribute stride must be updated even if the stream is disabled
|
// Stride must be updated even if the stream is disabled
|
||||||
info.attribute_stride += rsx::get_vertex_type_size_on_host(vinfo.type(), vinfo.size());
|
info.attribute_stride += rsx::get_vertex_type_size_on_host(vinfo.type(), vinfo.size());
|
||||||
|
info.locations.push_back(index);
|
||||||
|
|
||||||
if (input_mask & (1u << index))
|
if (input_mask & (1u << index))
|
||||||
{
|
{
|
||||||
result.attribute_placement[index] = attribute_buffer_placement::transient;
|
result.attribute_placement[index] = attribute_buffer_placement::transient;
|
||||||
info.locations.push_back(index);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (state.register_vertex_info[index].size > 0 && input_mask & (1u << index))
|
else if (state.register_vertex_info[index].size > 0 && input_mask & (1u << index))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue