RSX: fix new warnings
This commit is contained in:
@@ -614,7 +614,7 @@ bool GLGSRender::load_program()
|
||||
{
|
||||
const auto shadermode = g_cfg.video.shadermode.get();
|
||||
|
||||
if (m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits))
|
||||
if ((m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits)))
|
||||
{
|
||||
get_current_fragment_program(fs_sampler_state);
|
||||
verify(HERE), current_fragment_program.valid;
|
||||
|
||||
@@ -1431,7 +1431,7 @@ void VKGSRender::do_local_task(rsx::FIFO_state state)
|
||||
|
||||
bool VKGSRender::load_program()
|
||||
{
|
||||
if (m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits))
|
||||
if ((m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits)))
|
||||
{
|
||||
get_current_fragment_program(fs_sampler_state);
|
||||
verify(HERE), current_fragment_program.valid;
|
||||
|
||||
Reference in New Issue
Block a user