mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-19 21:40:43 +00:00
rsx: Fix vertex arrays fetch with inlined draws
This commit is contained in:
parent
e8474145a5
commit
e0a676a3fe
@ -1784,7 +1784,10 @@ namespace rsx
|
||||
|
||||
for (u8 index = 0; index < rsx::limits::vertex_count; ++index)
|
||||
{
|
||||
const u32 mask = (1u << index);
|
||||
// Check if vertex stream is enabled
|
||||
if (!(input_mask & (1 << index)))
|
||||
continue;
|
||||
|
||||
auto &vinfo = state.vertex_arrays_info[index];
|
||||
|
||||
if (vinfo.size() > 0)
|
||||
@ -1806,8 +1809,8 @@ namespace rsx
|
||||
|
||||
for (u8 index = 0; index < rsx::limits::vertex_count; ++index)
|
||||
{
|
||||
const bool enabled = !!(input_mask & (1 << index));
|
||||
if (!enabled)
|
||||
// Check if vertex stream is enabled
|
||||
if (!(input_mask & (1 << index)))
|
||||
continue;
|
||||
|
||||
//Check for interleaving
|
||||
|
Loading…
x
Reference in New Issue
Block a user