mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
whitespace fix only
This commit is contained in:
parent
15d5507154
commit
362eea09a1
4 changed files with 10 additions and 10 deletions
|
@ -106,4 +106,4 @@ size_t get_texture_size(const rsx::vertex_texture &texture);
|
||||||
/**
|
/**
|
||||||
* Get packed pitch
|
* Get packed pitch
|
||||||
*/
|
*/
|
||||||
u32 get_format_packed_pitch(u32 format, u16 width);
|
u32 get_format_packed_pitch(u32 format, u16 width);
|
||||||
|
|
|
@ -443,7 +443,7 @@ namespace gl
|
||||||
|
|
||||||
if (xfer_info.dst_is_typeless)
|
if (xfer_info.dst_is_typeless)
|
||||||
{
|
{
|
||||||
//Transfer contents from typeless dst back to original dst
|
// Transfer contents from typeless dst back to original dst
|
||||||
copy_typeless(dst, typeless_dst.get());
|
copy_typeless(dst, typeless_dst.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -617,4 +617,4 @@ void gl::render_target::memory_barrier(void*)
|
||||||
// Memory has been transferred, discard old contents and update memory flags
|
// Memory has been transferred, discard old contents and update memory flags
|
||||||
// TODO: Preserve memory outside surface clip region
|
// TODO: Preserve memory outside surface clip region
|
||||||
on_write();
|
on_write();
|
||||||
}
|
}
|
||||||
|
|
|
@ -2253,10 +2253,10 @@ struct registers_decoder<NV3089_DS_DX>
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((s32)val < 0)
|
if ((s32)val < 0)
|
||||||
{
|
{
|
||||||
return 1.f / (((val & ~(1<<31)) / 1048576.f) - 2048.f);
|
return 1.f / (((val & ~(1<<31)) / 1048576.f) - 2048.f);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1048576.f / val;
|
return 1048576.f / val;
|
||||||
}
|
}
|
||||||
|
@ -2291,12 +2291,12 @@ struct registers_decoder<NV3089_DT_DY>
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((s32)val < 0)
|
if ((s32)val < 0)
|
||||||
{
|
{
|
||||||
return 1.f / (((val & ~(1<<31)) / 1048576.f) - 2048.f);
|
return 1.f / (((val & ~(1<<31)) / 1048576.f) - 2048.f);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1048576.f / val;
|
return 1048576.f / val;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue