mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Silence some obvious warnings
Makes travis logs a bit cleaner
This commit is contained in:
parent
dc9671c639
commit
9d1aebce74
4 changed files with 6 additions and 6 deletions
|
@ -11,7 +11,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
u32 DisAsmBranchTarget(const s32 imm)
|
u32 DisAsmBranchTarget(const s32 imm) override
|
||||||
{
|
{
|
||||||
return dump_pc + (imm & ~3);
|
return dump_pc + (imm & ~3);
|
||||||
}
|
}
|
||||||
|
|
|
@ -672,7 +672,7 @@ namespace gl
|
||||||
* Check for sampleable rtts from previous render passes
|
* Check for sampleable rtts from previous render passes
|
||||||
*/
|
*/
|
||||||
gl::render_target *texptr = nullptr;
|
gl::render_target *texptr = nullptr;
|
||||||
if (texptr = m_rtts.get_texture_from_render_target_if_applicable(texaddr))
|
if ((texptr = m_rtts.get_texture_from_render_target_if_applicable(texaddr)))
|
||||||
{
|
{
|
||||||
for (const auto& tex : m_rtts.m_bound_render_targets)
|
for (const auto& tex : m_rtts.m_bound_render_targets)
|
||||||
{
|
{
|
||||||
|
@ -703,7 +703,7 @@ namespace gl
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (texptr = m_rtts.get_texture_from_depth_stencil_if_applicable(texaddr))
|
if ((texptr = m_rtts.get_texture_from_depth_stencil_if_applicable(texaddr)))
|
||||||
{
|
{
|
||||||
if (texaddr == std::get<0>(m_rtts.m_bound_depth_stencil))
|
if (texaddr == std::get<0>(m_rtts.m_bound_depth_stencil))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1091,7 +1091,7 @@ namespace vk
|
||||||
m_instance = nullptr;
|
m_instance = nullptr;
|
||||||
|
|
||||||
//Check that some critical entry-points have been loaded into memory indicating prescence of a loader
|
//Check that some critical entry-points have been loaded into memory indicating prescence of a loader
|
||||||
loader_exists = (vkCreateInstance != nullptr);
|
loader_exists = (&vkCreateInstance != nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
~context()
|
~context()
|
||||||
|
|
|
@ -578,7 +578,7 @@ namespace vk
|
||||||
|
|
||||||
//First check if it exists as an rtt...
|
//First check if it exists as an rtt...
|
||||||
vk::render_target *rtt_texture = nullptr;
|
vk::render_target *rtt_texture = nullptr;
|
||||||
if (rtt_texture = m_rtts.get_texture_from_render_target_if_applicable(texaddr))
|
if ((rtt_texture = m_rtts.get_texture_from_render_target_if_applicable(texaddr)))
|
||||||
{
|
{
|
||||||
if (g_cfg.video.strict_rendering_mode)
|
if (g_cfg.video.strict_rendering_mode)
|
||||||
{
|
{
|
||||||
|
@ -595,7 +595,7 @@ namespace vk
|
||||||
return rtt_texture->get_view();
|
return rtt_texture->get_view();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rtt_texture = m_rtts.get_texture_from_depth_stencil_if_applicable(texaddr))
|
if ((rtt_texture = m_rtts.get_texture_from_depth_stencil_if_applicable(texaddr)))
|
||||||
{
|
{
|
||||||
if (g_cfg.video.strict_rendering_mode)
|
if (g_cfg.video.strict_rendering_mode)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue