mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
rsx/prog: Fix compiler warning
This commit is contained in:
parent
eca86ad449
commit
a39a743abe
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ usz fragment_program_utils::get_fragment_program_ucode_hash(const RSXFragmentPro
|
||||||
const void* instbuffer = program.get_data();
|
const void* instbuffer = program.get_data();
|
||||||
usz acc0 = 0;
|
usz acc0 = 0;
|
||||||
usz acc1 = 0;
|
usz acc1 = 0;
|
||||||
for (usz instIndex = 0; instIndex < (program.ucode_length / 16); instIndex++)
|
for (int instIndex = 0; instIndex < static_cast<int>(program.ucode_length / 16); instIndex++)
|
||||||
{
|
{
|
||||||
const auto inst = v128::loadu(instbuffer, instIndex);
|
const auto inst = v128::loadu(instbuffer, instIndex);
|
||||||
const usz tmp0 = std::rotr(inst._u64[0], instIndex * 2);
|
const usz tmp0 = std::rotr(inst._u64[0], instIndex * 2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue