Implement hardware zcull emulation

rsx/gl: Support s1 immediate values; ogl minor refactoring
This commit is contained in:
kd-11 2017-07-27 19:04:55 +03:00
parent 7ab1792ef7
commit fcb7072fee
10 changed files with 628 additions and 103 deletions

View file

@ -484,7 +484,7 @@ s32 cellGcmSetDisplayBuffer(u8 id, u32 offset, u32 pitch, u32 width, u32 height)
m_config->gcm_buffers[id].width = width;
m_config->gcm_buffers[id].height = height;
if (id + 1 > render->display_buffers_count)
if (id + 1u > render->display_buffers_count)
{
render->display_buffers_count = id + 1;
}