mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Add usz alias for std::size_t
This commit is contained in:
parent
360c4d1554
commit
fb29933d3d
173 changed files with 718 additions and 717 deletions
|
@ -261,10 +261,10 @@ namespace rsx
|
|||
template<u32 id, u32 index, int count, int register_count, typename type>
|
||||
void set_vertex_data_impl(thread* rsx, u32 arg)
|
||||
{
|
||||
static const size_t increment_per_array_index = (register_count * sizeof(type)) / sizeof(u32);
|
||||
static const usz increment_per_array_index = (register_count * sizeof(type)) / sizeof(u32);
|
||||
|
||||
static const size_t attribute_index = index / increment_per_array_index;
|
||||
static const size_t vertex_subreg = index % increment_per_array_index;
|
||||
static const usz attribute_index = index / increment_per_array_index;
|
||||
static const usz vertex_subreg = index % increment_per_array_index;
|
||||
|
||||
const auto vtype = vertex_data_type_from_element_type<type>::type;
|
||||
ensure(vtype != rsx::vertex_base_type::cmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue