rsx: Fix vertex arrays fetch with inlined draws
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user