mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Fix warning (ignored attributes)
This commit is contained in:
parent
bdf6545571
commit
55e9d437a9
2 changed files with 3 additions and 3 deletions
|
@ -355,7 +355,7 @@ spu_imm_table_t::scale_table_t::scale_table_t()
|
||||||
{
|
{
|
||||||
for (s32 i = -155; i < 174; i++)
|
for (s32 i = -155; i < 174; i++)
|
||||||
{
|
{
|
||||||
m_data[i + 155] = _mm_set1_ps(static_cast<float>(std::exp2(i)));
|
m_data[i + 155].vf = _mm_set1_ps(static_cast<float>(std::exp2(i)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -388,14 +388,14 @@ struct spu_imm_table_t
|
||||||
|
|
||||||
class scale_table_t
|
class scale_table_t
|
||||||
{
|
{
|
||||||
std::array<__m128, 155 + 174> m_data;
|
std::array<v128, 155 + 174> m_data;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
scale_table_t();
|
scale_table_t();
|
||||||
|
|
||||||
FORCE_INLINE __m128 operator [] (s32 scale) const
|
FORCE_INLINE __m128 operator [] (s32 scale) const
|
||||||
{
|
{
|
||||||
return m_data[scale + 155];
|
return m_data[scale + 155].vf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const scale;
|
const scale;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue