Fix warning (ignored attributes)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user