mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 09:40:01 +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)
|
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];
|
auto &vinfo = state.vertex_arrays_info[index];
|
||||||
|
|
||||||
if (vinfo.size() > 0)
|
if (vinfo.size() > 0)
|
||||||
@ -1806,8 +1809,8 @@ namespace rsx
|
|||||||
|
|
||||||
for (u8 index = 0; index < rsx::limits::vertex_count; ++index)
|
for (u8 index = 0; index < rsx::limits::vertex_count; ++index)
|
||||||
{
|
{
|
||||||
const bool enabled = !!(input_mask & (1 << index));
|
// Check if vertex stream is enabled
|
||||||
if (!enabled)
|
if (!(input_mask & (1 << index)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
//Check for interleaving
|
//Check for interleaving
|
||||||
|
Loading…
x
Reference in New Issue
Block a user