mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
rsx: Allow u32 restart index with full index width
This commit is contained in:
parent
6b3af09fa5
commit
df63de8f16
1 changed files with 8 additions and 2 deletions
|
@ -692,8 +692,14 @@ namespace rsx
|
|||
return false;
|
||||
|
||||
}
|
||||
|
||||
return restart_index() <= (index_type() == rsx::index_array_type::u16 ? 0xffff : 0xfffff);
|
||||
|
||||
if (index_type() == rsx::index_array_type::u16 &&
|
||||
restart_index() > 0xffff)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
u32 z_clear_value(bool is_depth_stencil) const
|
||||
|
|
Loading…
Add table
Reference in a new issue