mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Merge pull request #2010 from vlj/rsx-refactor
rsx: Fix warning because of unused arguments
This commit is contained in:
commit
32a03344b3
@ -4002,7 +4002,7 @@ struct registers_decoder<NV4097_NO_OPERATION>
|
||||
decoded_type(u32) {};
|
||||
};
|
||||
|
||||
static std::string dump(u32 &&decoded_values)
|
||||
static std::string dump(u32 &&)
|
||||
{
|
||||
return "(nop)";
|
||||
}
|
||||
@ -4016,7 +4016,7 @@ struct registers_decoder<NV4097_INVALIDATE_VERTEX_CACHE_FILE>
|
||||
decoded_type(u32) {};
|
||||
};
|
||||
|
||||
static std::string dump(u32 &&decoded_values)
|
||||
static std::string dump(u32 &&)
|
||||
{
|
||||
return "(invalidate vertex cache file)";
|
||||
}
|
||||
@ -4030,7 +4030,7 @@ struct registers_decoder<NV4097_INVALIDATE_VERTEX_FILE>
|
||||
decoded_type(u32) {};
|
||||
};
|
||||
|
||||
static std::string dump(u32 &&decoded_values)
|
||||
static std::string dump(u32 &&)
|
||||
{
|
||||
return "(invalidate vertex file)";
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ namespace rsx
|
||||
namespace
|
||||
{
|
||||
template<typename T, size_t... N, typename Args>
|
||||
std::array<T, sizeof...(N)> fill_array(Args&& arg, std::index_sequence<N...> seq)
|
||||
std::array<T, sizeof...(N)> fill_array(Args&& arg, std::index_sequence<N...>)
|
||||
{
|
||||
return{ T(N, std::forward<Args>(arg))... };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user