rsx: Allow u32 restart index with full index width

This commit is contained in:
kd-11 2019-11-04 16:22:55 +03:00 committed by kd-11
parent 6b3af09fa5
commit df63de8f16

View file

@ -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